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.001668/0.001669, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001902/0.001902, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.412/1.412, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1794/0.1794, allocations: 38.04 MB / 329.7 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 62.84 kB / 398.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1019, allocations: 58.05 MB / 456.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006674/0.1086, allocations: 4.587 MB / 461.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.111, allocations: 1.464 MB / 462.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.1114, allocations: 11.94 kB / 462.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1125, allocations: 384.5 kB / 463.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006856/0.1132, allocations: 238.8 kB / 463.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.114, allocations: 259.4 kB / 463.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007604/0.1147, allocations: 0.5534 MB / 464.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.1153, allocations: 334.5 kB / 464.7 MB, free: 244 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.1157, allocations: 255.1 kB / 464.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.1163, allocations: 318.9 kB / 465.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.1164, allocations: 36 kB / 465.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.1167, allocations: 143.8 kB / 465.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.117, allocations: 227.4 kB / 465.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.1173, allocations: 242.8 kB / 465.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006439/0.1179, allocations: 0.5918 MB / 466.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1179, allocations: 0 / 466.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1179, allocations: 0 / 466.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.118, allocations: 0 / 466.5 MB, free: 14.45 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.001316/0.1193, allocations: 0.7621 MB / 467.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1193, allocations: 11.89 kB / 467.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006/0.1199, allocations: 96.22 kB / 467.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.1205, allocations: 396 kB / 467.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.1205, allocations: 33.36 kB / 467.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.1207, allocations: 52.11 kB / 467.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.1216, allocations: 0.6479 MB / 468.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.1217, allocations: 7.938 kB / 468.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/0.1217, allocations: 19.98 kB / 468.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.1218, allocations: 32.98 kB / 468.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.1226, allocations: 479.5 kB / 469 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.1259, allocations: 3.022 MB / 472 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.1263, allocations: 185 kB / 472.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.1264, allocations: 105.7 kB / 472.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.1265, allocations: 7.984 kB / 472.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.1265, allocations: 30.56 kB / 472.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.1265, allocations: 0 / 472.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001757/0.1283, allocations: 0.8422 MB / 473.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.1284, allocations: 85.06 kB / 473.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.1289, allocations: 345.5 kB / 473.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.1289, allocations: 29.7 kB / 473.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.1292, allocations: 310.9 kB / 473.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.1293, allocations: 63.02 kB / 474 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.1294, allocations: 97.92 kB / 474.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1296, allocations: 350.8 kB / 474.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.1299, allocations: 124.7 kB / 474.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.1303, allocations: 334.8 kB / 474.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/0.131, allocations: 0.5008 MB / 475.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.131, allocations: 0 / 475.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001161/0.1322, allocations: 0.5566 MB / 475.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1322, allocations: 10.03 kB / 475.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005444/0.1328, allocations: 278.9 kB / 476.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.1331, allocations: 80.78 kB / 476.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.1335, allocations: 95.83 kB / 476.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.1352, allocations: 1.719 MB / 478.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.1355, allocations: 23.98 kB / 478.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.1355, allocations: 24 kB / 478.1 MB, free: 1.957 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.0002759/0.1358, allocations: 221.5 kB / 478.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.1359, allocations: 39.47 kB / 478.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.1364, allocations: 288.8 kB / 478.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1364, allocations: 4.141 kB / 478.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1364, allocations: 3.984 kB / 478.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1364, allocations: 0 / 478.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.1378, allocations: 0.7944 MB / 479.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1378, allocations: 0 / 479.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.1381, allocations: 60.03 kB / 479.5 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1381, allocations: 0 / 479.5 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.1381, allocations: 7.984 kB / 479.5 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1381, allocations: 0 / 479.5 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1381, allocations: 11.88 kB / 479.5 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.1387, allocations: 483.8 kB / 480 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.1388, allocations: 104.8 kB / 480.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.1389, allocations: 11.94 kB / 480.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.139, allocations: 11.98 kB / 480.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.1391, allocations: 11.98 kB / 480.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.1391, allocations: 8 kB / 480.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.1393, allocations: 235.1 kB / 480.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1393, allocations: 0 / 480.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004858/0.1398, allocations: 96 kB / 480.5 MB, free: 15.48 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.000141/0.14, allocations: 111.2 kB / 480.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008135/0.1408, allocations: 467.9 kB / 481.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1408, allocations: 4.062 kB / 481.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.141, allocations: 111.8 kB / 481.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.1415, allocations: 69.33 kB / 481.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.143, allocations: 0.9844 MB / 482.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.1435, allocations: 0.8778 MB / 483.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.1439, allocations: 107.2 kB / 483.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.1439, allocations: 27.44 kB / 483.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.144, allocations: 0 / 483.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Templates: time 0.007821/0.1518, allocations: 3.535 MB / 486.8 MB, free: 9.145 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