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.001106/0.001106, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001176/0.001176, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.277/1.277, allocations: 222.9 MB / 241.7 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1646/0.1646, allocations: 38.05 MB / 329.9 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 63.22 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.104, allocations: 58.06 MB / 456.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007064/0.1111, allocations: 6.073 MB / 462.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006258/0.1174, allocations: 4.36 MB / 467.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006375/0.1181, allocations: 35.75 kB / 467.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008237/0.1263, allocations: 4.711 MB / 472 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009592/0.1273, allocations: 314.7 kB / 472.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.1279, allocations: 187.8 kB / 472.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.13, allocations: 2.07 MB / 474.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007212/0.1307, allocations: 0.4978 MB / 475 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.1311, allocations: 302.7 kB / 475.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.1316, allocations: 434.4 kB / 475.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.1317, allocations: 35.94 kB / 475.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1319, allocations: 43.98 kB / 475.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.1321, allocations: 231.4 kB / 476.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.1324, allocations: 298.5 kB / 476.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.1329, allocations: 0.6508 MB / 477 MB, free: 4.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1329, allocations: 0 / 477 MB, free: 4.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1329, allocations: 0 / 477 MB, free: 4.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1329, allocations: 0 / 477 MB, free: 4.266 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.001475/0.1344, allocations: 0.8707 MB / 477.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1345, allocations: 8.031 kB / 477.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.1348, allocations: 68.19 kB / 477.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/0.1356, allocations: 0.5412 MB / 478.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.1357, allocations: 36.98 kB / 478.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.1357, allocations: 43.94 kB / 478.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.1366, allocations: 0.6258 MB / 479.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1366, allocations: 3.906 kB / 479.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.1367, allocations: 27.98 kB / 479.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.1368, allocations: 52.95 kB / 479.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006724/0.1375, allocations: 463.6 kB / 479.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.1403, allocations: 2.518 MB / 482.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.1407, allocations: 283.9 kB / 482.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.1409, allocations: 142.2 kB / 482.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1409, allocations: 4 kB / 482.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.141, allocations: 54.48 kB / 482.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.141, allocations: 0 / 482.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002655/0.1436, allocations: 1.536 MB / 484.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.1437, allocations: 81.11 kB / 484.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.1441, allocations: 409.9 kB / 484.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1441, allocations: 29.7 kB / 484.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1443, allocations: 299.5 kB / 485.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.645e-05/0.1444, allocations: 118.3 kB / 485.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.1446, allocations: 78.16 kB / 485.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1447, allocations: 362.7 kB / 485.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.1449, allocations: 132.8 kB / 485.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.1452, allocations: 278.3 kB / 486 MB, free: 10.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.1457, allocations: 449.9 kB / 486.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1457, allocations: 8 kB / 486.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001016/0.1468, allocations: 0.6791 MB / 487.1 MB, free: 9.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1468, allocations: 4 kB / 487.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1468, allocations: 8 kB / 487.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/0.1472, allocations: 145.8 kB / 487.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.1475, allocations: 75.83 kB / 487.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.1506, allocations: 3.389 MB / 490.7 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.1508, allocations: 12 kB / 490.8 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.1509, allocations: 20 kB / 490.8 MB, free: 5.574 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.0002821/0.1512, allocations: 237.6 kB / 491 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.1512, allocations: 43.5 kB / 491.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009172/0.1522, allocations: 0.5714 MB / 491.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1522, allocations: 7.938 kB / 491.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006913/0.1529, allocations: 495.8 kB / 492.1 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1529, allocations: 4 kB / 492.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.1543, allocations: 1.006 MB / 493.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1543, allocations: 7.938 kB / 493.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1545, allocations: 31.98 kB / 493.2 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/0.1548, allocations: 96.72 kB / 493.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.1548, allocations: 8.094 kB / 493.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.1566, allocations: 1.87 MB / 495.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1566, allocations: 4.031 kB / 495.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/0.1575, allocations: 0.6482 MB / 495.8 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.1576, allocations: 140.5 kB / 495.9 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.1577, allocations: 8 kB / 495.9 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.1579, allocations: 8 kB / 495.9 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.1579, allocations: 27.91 kB / 496 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.158, allocations: 15.98 kB / 496 MB, free: 40 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003353/0.1583, allocations: 303.2 kB / 496.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1583, allocations: 0 / 496.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005439/0.1588, allocations: 116 kB / 496.4 MB, free: 15.62 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.0001167/0.159, allocations: 105.1 kB / 496.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009235/0.1599, allocations: 0.6028 MB / 497.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1599, allocations: 5.062 kB / 497.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.1603, allocations: 302.6 kB / 497.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.161, allocations: 97.84 kB / 497.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.1632, allocations: 1.39 MB / 498.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.1639, allocations: 0.9205 MB / 499.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.164, allocations: 43.42 kB / 499.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.164, allocations: 0 / 499.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.01213/0.1762, allocations: 9.931 MB / 0.4978 GB, free: 2.133 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