Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008099/0.0008099, allocations: 95.38 kB / 17.31 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 172.6 kB / 18.21 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 242.2 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1881/0.1881, allocations: 38.09 MB / 331.5 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.0004196, allocations: 8 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 59.16 MB / 460.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007206/0.1513, allocations: 5.659 MB / 466.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006854/0.1582, allocations: 4.29 MB / 470.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006504/0.1588, allocations: 31.81 kB / 470.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008147/0.167, allocations: 4.578 MB / 475.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.1681, allocations: 306.7 kB / 475.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.1687, allocations: 195.7 kB / 475.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002352/0.1711, allocations: 2.062 MB / 477.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.1722, allocations: 0.6858 MB / 478.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.1727, allocations: 294.7 kB / 478.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.1733, allocations: 398.5 kB / 479 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.1733, allocations: 35.92 kB / 479 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1735, allocations: 39.92 kB / 479.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.1737, allocations: 219.4 kB / 479.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.174, allocations: 308.2 kB / 479.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006654/0.1747, allocations: 0.6311 MB / 480.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1747, allocations: 0 / 480.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1747, allocations: 4 kB / 480.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.1747, allocations: 0 / 480.2 MB, free: 3.254 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001633/0.1764, allocations: 0.7462 MB / 481 MB, free: 2.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1764, allocations: 16.02 kB / 481 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.1768, allocations: 76.09 kB / 481.1 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/0.1777, allocations: 0.5449 MB / 481.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.1778, allocations: 33 kB / 481.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.1778, allocations: 44 kB / 481.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/0.1788, allocations: 0.6335 MB / 482.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.1789, allocations: 0 / 482.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.1789, allocations: 16 kB / 482.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.1791, allocations: 52.95 kB / 482.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/0.1798, allocations: 467.6 kB / 482.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.1828, allocations: 2.526 MB / 485.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.1832, allocations: 277.2 kB / 485.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.1835, allocations: 142.2 kB / 485.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1835, allocations: 8 kB / 485.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.1836, allocations: 50.48 kB / 485.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 5.35e-06/0.1836, allocations: 0 / 485.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002914/0.1865, allocations: 1.544 MB / 487.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.1866, allocations: 81.11 kB / 487.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.1871, allocations: 413.9 kB / 487.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.1871, allocations: 33.7 kB / 487.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.1873, allocations: 307.5 kB / 488.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.1874, allocations: 106.4 kB / 488.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.1875, allocations: 41.69 kB / 488.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1877, allocations: 358.7 kB / 488.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.1879, allocations: 132.8 kB / 488.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.1882, allocations: 274.3 kB / 489.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.1888, allocations: 449.9 kB / 489.5 MB, free: 9.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1888, allocations: 4 kB / 489.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001102/0.1899, allocations: 0.679 MB / 490.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.1899, allocations: 4 kB / 490.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1899, allocations: 12.25 kB / 490.2 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/0.1904, allocations: 153.6 kB / 490.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.1907, allocations: 75.84 kB / 490.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.1941, allocations: 3.4 MB / 493.9 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.1944, allocations: 8 kB / 493.9 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.1944, allocations: 23.98 kB / 493.9 MB, free: 4.684 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003602/0.1948, allocations: 243.4 kB / 494.1 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.1949, allocations: 43.44 kB / 494.2 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009739/0.1958, allocations: 0.5753 MB / 494.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1959, allocations: 7.938 kB / 494.7 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007172/0.1966, allocations: 487.8 kB / 495.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1966, allocations: 4 kB / 495.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.1981, allocations: 1.002 MB / 496.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1981, allocations: 4 kB / 496.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.1983, allocations: 35.97 kB / 496.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.1986, allocations: 88.78 kB / 496.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.1986, allocations: 4 kB / 496.4 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.2005, allocations: 1.878 MB / 498.2 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2006, allocations: 3.938 kB / 498.2 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009537/0.2015, allocations: 0.6517 MB / 498.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.2017, allocations: 140.5 kB / 499 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.2017, allocations: 11.98 kB / 499 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.2019, allocations: 4 kB / 499 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.202, allocations: 31.84 kB / 499.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.202, allocations: 11.98 kB / 499.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003634/0.2024, allocations: 303.1 kB / 499.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2024, allocations: 0 / 499.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005958/0.203, allocations: 120 kB / 499.5 MB, free: 14.74 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001543/0.2032, allocations: 103.3 kB / 499.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.2042, allocations: 0.603 MB / 0.4885 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.2042, allocations: 0 / 0.4885 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004229/0.2047, allocations: 298.4 kB / 0.4888 GB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.2054, allocations: 115.2 kB / 0.4889 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.2075, allocations: 1.446 MB / 0.4903 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.2081, allocations: 0.9244 MB / 0.4912 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.2082, allocations: 35.44 kB / 0.4912 GB, free: 11.1 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2082, allocations: 0 / 0.4912 GB, free: 11.1 MB / 382.1 MB Notification: Performance of Templates: time 0.0139/0.2221, allocations: 9.883 MB / 0.5009 GB, free: 1.23 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristicCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristicCalcHelperMain.o] Error 1