Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008506/0.0008507, allocations: 92.52 kB / 16.65 MB, free: 6.59 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.0008533/0.0008533, allocations: 184.3 kB / 17.56 MB, free: 6.203 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.325/1.325, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.168/0.168, allocations: 38.09 MB / 330.8 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 12.69 kB / 400.7 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.107, allocations: 59.17 MB / 459.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005766/0.1128, allocations: 4.834 MB / 464.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.1159, allocations: 1.628 MB / 466.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.1163, allocations: 23.88 kB / 466.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1166, allocations: 63.55 kB / 466.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.1174, allocations: 219 kB / 466.6 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.1181, allocations: 223.5 kB / 466.9 MB, free: 68 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009525/0.1191, allocations: 0.8381 MB / 467.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009937/0.1201, allocations: 0.5923 MB / 468.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.1206, allocations: 199.1 kB / 468.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005436/0.1211, allocations: 322.8 kB / 468.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.1212, allocations: 16 kB / 468.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.1215, allocations: 135.8 kB / 469 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.1217, allocations: 215.4 kB / 469.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.122, allocations: 244.5 kB / 469.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005718/0.1226, allocations: 0.5722 MB / 470 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1226, allocations: 0 / 470 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1226, allocations: 0 / 470 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1226, allocations: 0 / 470 MB, free: 12.91 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001587/0.1242, allocations: 0.6803 MB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1243, allocations: 12.03 kB / 470.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.1253, allocations: 92.22 kB / 470.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009482/0.1263, allocations: 400 kB / 471.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.1263, allocations: 29.38 kB / 471.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.1266, allocations: 60.11 kB / 471.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.128, allocations: 0.645 MB / 471.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.128, allocations: 3.938 kB / 471.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.1281, allocations: 20 kB / 471.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/0.1283, allocations: 28.98 kB / 471.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.1295, allocations: 483.5 kB / 472.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.133, allocations: 3.03 MB / 475.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.1333, allocations: 181 kB / 475.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1335, allocations: 101.7 kB / 475.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.1335, allocations: 8 kB / 475.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1336, allocations: 34.56 kB / 475.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.1336, allocations: 0 / 475.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001334/0.1349, allocations: 0.8395 MB / 476.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.135, allocations: 89.06 kB / 476.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.1353, allocations: 349.7 kB / 477 MB, free: 5.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1354, allocations: 25.7 kB / 477 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.1356, allocations: 299 kB / 477.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.696e-05/0.1356, allocations: 78.92 kB / 477.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.1357, allocations: 45.69 kB / 477.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1359, allocations: 342.8 kB / 477.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.1361, allocations: 128.8 kB / 477.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.1364, allocations: 330.8 kB / 478.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.137, allocations: 0.5041 MB / 478.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.137, allocations: 0 / 478.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009823/0.138, allocations: 0.5558 MB / 479.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.138, allocations: 8.781 kB / 479.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005144/0.1385, allocations: 278.5 kB / 479.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/0.1389, allocations: 84.72 kB / 479.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.1392, allocations: 95.83 kB / 479.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.1408, allocations: 1.604 MB / 481.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.1411, allocations: 19.98 kB / 481.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.1411, allocations: 24 kB / 481.4 MB, free: 0.6758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.1413, allocations: 219.6 kB / 481.6 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.1414, allocations: 35.69 kB / 481.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.1419, allocations: 291.9 kB / 481.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1419, allocations: 4 kB / 481.9 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1419, allocations: 0 / 481.9 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1419, allocations: 7.984 kB / 482 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.1431, allocations: 0.7888 MB / 482.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1431, allocations: 4 kB / 482.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.1434, allocations: 55.91 kB / 482.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1434, allocations: 4 kB / 482.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.1434, allocations: 4 kB / 482.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1434, allocations: 0 / 482.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1435, allocations: 0 / 482.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005907/0.1441, allocations: 490.8 kB / 483.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.1442, allocations: 108.7 kB / 483.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.1442, allocations: 8.031 kB / 483.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1444, allocations: 8 kB / 483.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.1444, allocations: 19.91 kB / 483.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1445, allocations: 12 kB / 483.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.1447, allocations: 235.2 kB / 483.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1447, allocations: 0 / 483.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.1452, allocations: 96 kB / 483.8 MB, free: 14.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.1453, allocations: 107.1 kB / 483.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007048/0.146, allocations: 443.2 kB / 484.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.146, allocations: 0 / 484.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1462, allocations: 110.6 kB / 484.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.1467, allocations: 66.41 kB / 484.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.1484, allocations: 1.253 MB / 485.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.1488, allocations: 0.8626 MB / 486.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.1492, allocations: 111.2 kB / 486.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.1492, allocations: 35.42 kB / 486.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1493, allocations: 4 kB / 486.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of Templates: time 0.008344/0.1576, allocations: 3.342 MB / 490.1 MB, free: 7.828 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches