Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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.ASM_Y_D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm_Y_D.motor.slip|frictTorq.flange.tau|frictTorq.w|loadInertia.flange_a.tau|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm_Y_D.motor.slip|frictTorq.flange.tau|frictTorq.w|loadInertia.flange_a.tau|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009773, allocations: 92.23 kB / 16.95 MB, free: 5.953 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.0009317/0.0009317, allocations: 177.4 kB / 17.84 MB, free: 5.617 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.327/1.327, allocations: 223.3 MB / 241.9 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1783/0.1783, allocations: 38.1 MB / 331 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003077, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1021, allocations: 59.18 MB / 459.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.006663/0.1088, allocations: 5.998 MB / 465.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006727/0.1156, allocations: 4.448 MB / 470.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007204/0.1163, allocations: 35.75 kB / 470.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008305/0.1247, allocations: 4.399 MB / 474.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.1263, allocations: 477.8 kB / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008181/0.1272, allocations: 243.6 kB / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.1296, allocations: 1.949 MB / 477.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.1309, allocations: 0.7788 MB / 478.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006513/0.1316, allocations: 394.5 kB / 478.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006656/0.1323, allocations: 486.3 kB / 479 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.086e-05/0.1323, allocations: 32 kB / 479.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.1326, allocations: 79.88 kB / 479.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.1329, allocations: 287.2 kB / 479.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.1331, allocations: 165.3 kB / 479.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007458/0.1338, allocations: 0.8065 MB / 480.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1338, allocations: 0 / 480.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1339, allocations: 0 / 480.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1339, allocations: 0 / 480.4 MB, free: 2.785 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001589/0.1355, allocations: 0.8842 MB / 481.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1355, allocations: 8.031 kB / 481.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.1359, allocations: 107 kB / 481.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009696/0.1369, allocations: 0.5837 MB / 482 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.563e-05/0.137, allocations: 83 kB / 482.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.1371, allocations: 59.95 kB / 482.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.1383, allocations: 0.806 MB / 482.9 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.1384, allocations: 7.844 kB / 482.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.1384, allocations: 27.98 kB / 483 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.1385, allocations: 49.28 kB / 483 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009226/0.1395, allocations: 0.5905 MB / 483.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/0.1432, allocations: 2.935 MB / 486.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.1439, allocations: 434.1 kB / 487 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.1443, allocations: 226.3 kB / 487.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.1443, allocations: 16.59 kB / 487.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.1448, allocations: 334.5 kB / 487.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.474e-06/0.1448, allocations: 0 / 487.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003073/0.1479, allocations: 2.052 MB / 489.6 MB, free: 9.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.148, allocations: 132.5 kB / 489.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.1485, allocations: 445.8 kB / 490.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.1485, allocations: 33.7 kB / 490.2 MB, free: 8.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.1488, allocations: 331.8 kB / 490.5 MB, free: 8.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.1489, allocations: 161.7 kB / 490.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.1489, allocations: 12 kB / 490.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1491, allocations: 366.8 kB / 491 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.1495, allocations: 229.2 kB / 491.3 MB, free: 7.414 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.1499, allocations: 398.2 kB / 491.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.1517, allocations: 0.7502 MB / 492.4 MB, free: 6.188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1517, allocations: 0 / 492.4 MB, free: 6.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001634/0.1534, allocations: 0.9632 MB / 493.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.1534, allocations: 33.73 kB / 493.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.1534, allocations: 12 kB / 493.4 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008065/0.1542, allocations: 307.6 kB / 493.7 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007811/0.155, allocations: 171.8 kB / 493.9 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005693/0.1607, allocations: 4.854 MB / 498.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.1611, allocations: 23.98 kB / 498.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.1612, allocations: 31.97 kB / 498.8 MB, free: 15.5 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.asm_Y_D.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$PRE.relay1.y,relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {3 15} Notification: Performance of prepare postOptimizeDAE: time 0.0004436/0.1617, allocations: 295.3 kB / 499.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.1617, allocations: 63.3 kB / 499.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.1629, allocations: 0.7937 MB / 499.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.1629, allocations: 8 kB / 499.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1629, allocations: 3.984 kB / 499.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.163, allocations: 7.953 kB / 499.9 MB, free: 14.27 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.1653, allocations: 1.674 MB / 0.4899 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1653, allocations: 0 / 0.4899 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.1664, allocations: 191.9 kB / 0.49 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/0.1666, allocations: 74.52 kB / 0.4901 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.1667, allocations: 12 kB / 0.4901 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/0.1697, allocations: 3.961 MB / 0.494 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1697, allocations: 3.938 kB / 0.494 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.1712, allocations: 1.118 MB / 0.4951 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.1714, allocations: 172.5 kB / 0.4953 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.1715, allocations: 12 kB / 0.4953 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.1718, allocations: 23.92 kB / 0.4953 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.1719, allocations: 28.03 kB / 0.4953 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.1719, allocations: 19.98 kB / 0.4953 GB, free: 6.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00042/0.1723, allocations: 315 kB / 0.4956 GB, free: 6.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1723, allocations: 4 kB / 0.4956 GB, free: 6.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007451/0.1731, allocations: 164 kB / 0.4958 GB, free: 5.879 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asm_Y_D.motor.i[3],asm_Y_D.motor.psi_s[1],asm_Y_D.motor.psi_s[2],asm_Y_D.motor.psi_rd[1],asm_Y_D.motor.psi_rq[1],loadInertia.w,frictTorq.phi) * Number of discrete variables: 4 ($whenCondition1,relay1.y,relay1.cnt,system.initime) * Number of discrete states: 3 (relay1.y,relay1.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/0.1733, allocations: 119 kB / 0.4959 GB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.1749, allocations: 0.984 MB / 0.4969 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1749, allocations: 0 / 0.4969 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007341/0.1757, allocations: 0.6359 MB / 0.4975 GB, free: 4.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.1764, allocations: 132.2 kB / 0.4976 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.1795, allocations: 2.096 MB / 0.4997 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/0.1801, allocations: 0.9761 MB / 0.5006 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.1803, allocations: 43.42 kB / 0.5007 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of SimCode: time 2.564e-06/0.1803, allocations: 0 / 0.5007 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of Templates: time 0.2321/0.4123, allocations: 14.57 MB / 0.5149 GB, free: 50.92 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_DCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_DCalcHelperMain.o] Error 1