Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 92.53 kB / 16.3 MB, free: 5.543 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.0009336/0.0009336, allocations: 184.1 kB / 17.19 MB, free: 5.477 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.219/1.219, allocations: 223.2 MB / 241.1 MB, free: 14.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1568/0.1568, allocations: 38.08 MB / 330.3 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.00027, allocations: 8 kB / 400 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 59.16 MB / 459.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006124/0.1087, allocations: 5.285 MB / 464.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005926/0.1147, allocations: 4.079 MB / 468.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005915/0.1153, allocations: 31.75 kB / 468.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004056/0.1194, allocations: 1.672 MB / 470.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007782/0.1202, allocations: 283.1 kB / 470.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.1208, allocations: 223.5 kB / 470.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006967/0.1215, allocations: 491.4 kB / 471.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006992/0.1222, allocations: 494.6 kB / 471.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.1226, allocations: 263 kB / 471.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.1229, allocations: 282.9 kB / 472.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.123, allocations: 24 kB / 472.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.1232, allocations: 67.89 kB / 472.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.1234, allocations: 239.4 kB / 472.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1235, allocations: 133.4 kB / 472.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.1241, allocations: 0.5572 MB / 473.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1241, allocations: 0 / 473.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1241, allocations: 0 / 473.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1241, allocations: 0 / 473.2 MB, free: 9.289 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.001352/0.1254, allocations: 0.7965 MB / 474 MB, free: 8.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1255, allocations: 11.97 kB / 474 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.1259, allocations: 103.1 kB / 474.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009286/0.1268, allocations: 0.5132 MB / 474.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.1269, allocations: 37 kB / 474.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-05/0.127, allocations: 47.98 kB / 474.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000827/0.1278, allocations: 0.6413 MB / 475.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1278, allocations: 11.94 kB / 475.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.1279, allocations: 19.98 kB / 475.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/0.128, allocations: 48.95 kB / 475.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.1287, allocations: 487.6 kB / 475.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.1318, allocations: 2.539 MB / 478.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.1322, allocations: 315.6 kB / 478.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.1323, allocations: 4.062 kB / 478.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1323, allocations: 50.94 kB / 478.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.724e-06/0.1323, allocations: 0 / 478.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002235/0.1345, allocations: 1.622 MB / 480.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.1346, allocations: 106.8 kB / 480.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.135, allocations: 417.9 kB / 480.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.1351, allocations: 29.7 kB / 481 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.1353, allocations: 311.6 kB / 481.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.1354, allocations: 118.3 kB / 481.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.1354, allocations: 12 kB / 481.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1355, allocations: 366.8 kB / 481.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1358, allocations: 161 kB / 481.9 MB, free: 76 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.1361, allocations: 297.8 kB / 482.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.1364, allocations: 211.6 kB / 482.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1364, allocations: 4 kB / 482.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001336/0.1378, allocations: 0.7956 MB / 483.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1378, allocations: 16.06 kB / 483.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1378, allocations: 4 kB / 483.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.1385, allocations: 209.5 kB / 483.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.1388, allocations: 71.89 kB / 483.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004339/0.1432, allocations: 3.978 MB / 487.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.1435, allocations: 23.94 kB / 487.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.1436, allocations: 16 kB / 487.5 MB, free: 10.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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%) 3} * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.1439, allocations: 225.7 kB / 487.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.144, allocations: 51.42 kB / 487.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009618/0.145, allocations: 0.6417 MB / 488.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.145, allocations: 4 kB / 488.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.145, allocations: 0 / 488.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1451, allocations: 4.078 kB / 488.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.1468, allocations: 1.191 MB / 489.6 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1468, allocations: 0 / 489.6 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.1473, allocations: 75.89 kB / 489.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.1474, allocations: 57.67 kB / 489.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.1475, allocations: 15.98 kB / 489.8 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.1494, allocations: 2.638 MB / 492.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1494, allocations: 3.938 kB / 492.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1505, allocations: 1.003 MB / 493.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.1508, allocations: 152.4 kB / 493.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.1508, allocations: 12 kB / 493.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.1511, allocations: 11.98 kB / 493.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.1512, allocations: 27.92 kB / 493.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.1512, allocations: 15.98 kB / 493.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.1515, allocations: 287.1 kB / 493.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1515, allocations: 0 / 493.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005957/0.1521, allocations: 132 kB / 494 MB, free: 3.035 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 2 {(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.0001544/0.1523, allocations: 119.1 kB / 494.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.1535, allocations: 0.7161 MB / 494.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1535, allocations: 0 / 494.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.154, allocations: 418 kB / 495.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.1546, allocations: 105 kB / 495.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.1569, allocations: 1.799 MB / 497.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.1575, allocations: 0.96 MB / 498.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003077/0.1578, allocations: 92.38 kB / 498.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.1579, allocations: 39.44 kB / 498.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1579, allocations: 7.938 kB / 498.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Templates: time 0.01155/0.1695, allocations: 6.249 MB / 0.4927 GB, free: 8.484 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches