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.0007614/0.0007617, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0009575/0.0009576, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.229/1.229, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1573/0.1573, allocations: 38.09 MB / 330.8 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 8.188 kB / 400.7 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.09002, allocations: 59.17 MB / 459.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005376/0.09544, allocations: 4.834 MB / 464.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.09805, allocations: 1.632 MB / 466.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.09849, allocations: 19.88 kB / 466.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.09874, allocations: 63.55 kB / 466.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.09938, allocations: 223 kB / 466.6 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.1, allocations: 219.6 kB / 466.9 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008515/0.1009, allocations: 0.8458 MB / 467.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000918/0.1018, allocations: 0.5845 MB / 468.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.1022, allocations: 211.1 kB / 468.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.1028, allocations: 314.9 kB / 468.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.1028, allocations: 19.94 kB / 468.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.1031, allocations: 131.8 kB / 469 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.1033, allocations: 211.4 kB / 469.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.1036, allocations: 252.5 kB / 469.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.1042, allocations: 0.5683 MB / 470 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1042, allocations: 0 / 470 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1042, allocations: 0 / 470 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.1042, allocations: 4 kB / 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.001145/0.1054, allocations: 0.6764 MB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1054, allocations: 12.03 kB / 470.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006113/0.106, allocations: 88.22 kB / 470.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005704/0.1066, allocations: 404 kB / 471.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.1067, allocations: 33.38 kB / 471.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.1068, allocations: 56.09 kB / 471.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008539/0.1077, allocations: 0.6411 MB / 471.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1077, allocations: 4 kB / 471.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.1077, allocations: 19.94 kB / 471.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.1079, allocations: 28.98 kB / 471.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.1086, allocations: 483.5 kB / 472.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.1115, allocations: 3.037 MB / 475.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1118, allocations: 185 kB / 475.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1119, allocations: 101.7 kB / 475.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.112, allocations: 8 kB / 475.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.112, allocations: 30.56 kB / 475.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.112, allocations: 4 kB / 475.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001225/0.1132, allocations: 0.8385 MB / 476.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1133, allocations: 85.06 kB / 476.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.1136, allocations: 341.5 kB / 477 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1136, allocations: 33.7 kB / 477 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1138, allocations: 299 kB / 477.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.1139, allocations: 82.94 kB / 477.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.1139, allocations: 45.7 kB / 477.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1141, allocations: 342.8 kB / 477.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.1142, allocations: 124.8 kB / 477.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.1145, allocations: 338.8 kB / 478.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.115, allocations: 0.4885 MB / 478.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/0.1151, allocations: 4 kB / 478.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009231/0.116, allocations: 0.5658 MB / 479.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.116, allocations: 8 kB / 479.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004779/0.1165, allocations: 276.4 kB / 479.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003147/0.1168, allocations: 85.28 kB / 479.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.1171, allocations: 99.83 kB / 479.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.1185, allocations: 1.597 MB / 481.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.1188, allocations: 27.86 kB / 481.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.1188, allocations: 24 kB / 481.4 MB, free: 0.6641 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.000217/0.119, allocations: 215.7 kB / 481.6 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.1191, allocations: 35.56 kB / 481.7 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004286/0.1195, allocations: 291.9 kB / 481.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.1195, allocations: 7.984 kB / 482 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1196, allocations: 0 / 482 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1196, allocations: 0 / 482 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.1206, allocations: 0.7849 MB / 482.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1207, allocations: 0 / 482.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.1209, allocations: 63.97 kB / 482.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.1209, allocations: 0 / 482.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.121, allocations: 8 kB / 482.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.121, allocations: 7.984 kB / 482.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.121, allocations: 0 / 482.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.1215, allocations: 482.8 kB / 483.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.1216, allocations: 108.7 kB / 483.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.1217, allocations: 12 kB / 483.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1218, allocations: 11.98 kB / 483.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1219, allocations: 15.92 kB / 483.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1219, allocations: 12 kB / 483.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.1221, allocations: 227.2 kB / 483.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1221, allocations: 4 kB / 483.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.1225, 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.000105/0.1227, allocations: 115.1 kB / 483.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006541/0.1233, allocations: 436 kB / 484.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1233, allocations: 4 kB / 484.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1235, allocations: 114.6 kB / 484.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.124, allocations: 61.34 kB / 484.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1256, allocations: 1.25 MB / 485.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.126, allocations: 0.8665 MB / 486.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002886/0.1263, allocations: 111.2 kB / 486.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.1264, allocations: 27.44 kB / 486.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1264, allocations: 0 / 486.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of Templates: time 0.006847/0.1333, allocations: 3.347 MB / 490.1 MB, free: 7.828 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches