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.0008132/0.0008133, allocations: 96.02 kB / 16.3 MB, free: 5.996 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.0009238/0.0009238, allocations: 178.1 kB / 17.2 MB, free: 5.914 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.208/1.208, allocations: 223.2 MB / 241.1 MB, free: 284 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1571/0.1571, allocations: 38.09 MB / 330.3 MB, free: 8.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002799, allocations: 16 kB / 400 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.09364, allocations: 59.16 MB / 459.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004724/0.09841, allocations: 4.443 MB / 463.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1008, allocations: 1.571 MB / 465.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.1011, allocations: 23.88 kB / 465.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.1012, allocations: 71.5 kB / 465.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005494/0.1018, allocations: 227.2 kB / 465.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.1024, allocations: 239.5 kB / 465.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.1027, allocations: 299.8 kB / 466 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000727/0.1035, allocations: 0.5203 MB / 466.5 MB, free: 16 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.1037, allocations: 187.4 kB / 466.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.1041, allocations: 215.3 kB / 466.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.1041, allocations: 16 kB / 466.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.1043, allocations: 95.84 kB / 467 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.1045, allocations: 191.5 kB / 467.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.459e-05/0.1046, allocations: 109.5 kB / 467.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.105, allocations: 450.8 kB / 467.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.105, allocations: 0 / 467.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.105, allocations: 0 / 467.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.105, allocations: 0 / 467.8 MB, free: 14.77 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.00106/0.1061, allocations: 0.6918 MB / 468.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1061, allocations: 8.031 kB / 468.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005568/0.1067, allocations: 95.28 kB / 468.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.1072, allocations: 390.9 kB / 468.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.1073, allocations: 33 kB / 469 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.1074, allocations: 55.83 kB / 469 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.1082, allocations: 0.6372 MB / 469.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1082, allocations: 3.938 kB / 469.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.1082, allocations: 20 kB / 469.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.1083, allocations: 28.98 kB / 469.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.109, allocations: 475.4 kB / 470.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.1119, allocations: 3.014 MB / 473.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1122, allocations: 185 kB / 473.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1122, allocations: 7.984 kB / 473.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1123, allocations: 34.62 kB / 473.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.1123, allocations: 3.938 kB / 473.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001204/0.1135, allocations: 0.8423 MB / 474.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1135, allocations: 81.05 kB / 474.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.1138, allocations: 349.7 kB / 474.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1139, allocations: 29.7 kB / 474.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1141, allocations: 298.9 kB / 475 MB, free: 7.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.1141, allocations: 78.94 kB / 475.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.1141, allocations: 12 kB / 475.1 MB, free: 7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1143, allocations: 342.8 kB / 475.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1144, allocations: 128.8 kB / 475.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.1147, allocations: 323 kB / 475.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.115, allocations: 191.8 kB / 476 MB, free: 5.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.115, allocations: 0 / 476 MB, free: 5.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000859/0.1159, allocations: 0.5536 MB / 476.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1159, allocations: 14.48 kB / 476.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004525/0.1163, allocations: 274.7 kB / 476.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.1167, allocations: 84.78 kB / 477 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.117, allocations: 95.83 kB / 477.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.1183, allocations: 1.616 MB / 478.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.1186, allocations: 16 kB / 478.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.1186, allocations: 27.98 kB / 478.7 MB, free: 3.109 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002096/0.1188, allocations: 217.6 kB / 478.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.1189, allocations: 31.62 kB / 479 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.1193, allocations: 288.6 kB / 479.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1193, allocations: 4 kB / 479.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1193, allocations: 4 kB / 479.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1193, allocations: 0 / 479.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.1204, allocations: 0.7997 MB / 480 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1204, allocations: 4.266 kB / 480.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.1207, allocations: 55.97 kB / 480.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1207, allocations: 0 / 480.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.1207, allocations: 8 kB / 480.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1207, allocations: 64 / 480.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1207, allocations: 11.94 kB / 480.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.1212, allocations: 0.5109 MB / 480.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.1213, allocations: 108.7 kB / 480.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.1214, allocations: 12.03 kB / 480.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1215, allocations: 8 kB / 480.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.1216, allocations: 11.98 kB / 480.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1216, allocations: 11.98 kB / 480.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.1218, allocations: 227.2 kB / 481 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.1218, allocations: 0 / 481 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.1222, allocations: 103.9 kB / 481.1 MB, free: 0.582 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.967e-05/0.1223, allocations: 107.2 kB / 481.2 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006256/0.123, allocations: 439.9 kB / 481.6 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.123, allocations: 4.062 kB / 481.6 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.1231, allocations: 111.9 kB / 481.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1235, allocations: 60.33 kB / 481.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1249, allocations: 1.214 MB / 483 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.1254, allocations: 0.8743 MB / 483.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002589/0.1256, allocations: 111.2 kB / 484 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.1257, allocations: 35.42 kB / 484 MB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1257, allocations: 0 / 484 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Templates: time 0.006405/0.1321, allocations: 3.249 MB / 487.3 MB, free: 10.33 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