Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 94.08 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.001146/0.001146, allocations: 179.8 kB / 17.2 MB, free: 5.898 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.215/1.215, allocations: 223.2 MB / 241.1 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1587/0.1587, allocations: 38.08 MB / 330.3 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 8.5 kB / 400 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1012, allocations: 59.16 MB / 459.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003413/0.1047, allocations: 3.097 MB / 462.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1063, allocations: 1.365 MB / 463.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.1065, allocations: 11.88 kB / 463.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.1066, allocations: 35.77 kB / 463.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.107, allocations: 163.5 kB / 463.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.1072, allocations: 95.73 kB / 463.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1074, allocations: 155.6 kB / 464.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005759/0.108, allocations: 315 kB / 464.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.1081, allocations: 103.6 kB / 464.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.1083, allocations: 79.69 kB / 464.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1083, allocations: 4 kB / 464.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.1086, allocations: 155.7 kB / 464.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.1087, allocations: 87.77 kB / 464.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.1088, allocations: 61.64 kB / 464.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.109, allocations: 243.5 kB / 465.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.109, allocations: 4 kB / 465.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1091, allocations: 3.938 kB / 465.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1091, allocations: 0 / 465.1 MB, free: 1.457 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000563/0.1096, allocations: 474.6 kB / 465.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.1097, allocations: 12.03 kB / 465.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008003/0.1105, allocations: 99.61 kB / 465.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1108, allocations: 255.1 kB / 465.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1108, allocations: 19.91 kB / 465.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.1109, allocations: 24 kB / 466 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.1113, allocations: 310.3 kB / 466.3 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1113, allocations: 0 / 466.3 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1113, allocations: 4 kB / 466.3 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.1114, allocations: 27.97 kB / 466.3 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.1118, allocations: 287.7 kB / 466.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.1134, allocations: 1.293 MB / 467.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.1139, allocations: 209.2 kB / 468.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1139, allocations: 3.984 kB / 468.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.114, allocations: 34.56 kB / 468.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.114, allocations: 0 / 468.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009585/0.1149, allocations: 437.4 kB / 468.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.115, allocations: 81.11 kB / 468.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1152, allocations: 190.4 kB / 468.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1152, allocations: 29.64 kB / 468.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1153, allocations: 164 kB / 469 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.1154, allocations: 51.3 kB / 469 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.1154, allocations: 3.938 kB / 469 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1156, allocations: 331 kB / 469.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.1157, allocations: 55.91 kB / 469.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1159, allocations: 153.7 kB / 469.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.116, allocations: 75.97 kB / 469.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.116, allocations: 0 / 469.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004075/0.1164, allocations: 266.2 kB / 469.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1164, allocations: 8.062 kB / 469.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.1164, allocations: 4 kB / 469.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.1167, allocations: 36.83 kB / 469.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1168, allocations: 43.91 kB / 470 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.1181, allocations: 1.358 MB / 471.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.1182, allocations: 15.92 kB / 471.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1182, allocations: 8 kB / 471.4 MB, free: 10.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.1184, allocations: 162 kB / 471.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.1184, allocations: 19.8 kB / 471.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.1188, allocations: 183.9 kB / 471.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1188, allocations: 7.984 kB / 471.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1188, allocations: 0 / 471.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1188, allocations: 0 / 471.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007554/0.1196, allocations: 0.5601 MB / 472.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1196, allocations: 4 kB / 472.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.1197, allocations: 19.98 kB / 472.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.1198, allocations: 32.83 kB / 472.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1199, allocations: 12.05 kB / 472.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009206/0.1208, allocations: 1.323 MB / 473.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1208, allocations: 4.031 kB / 473.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1212, allocations: 347.2 kB / 474 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.1213, allocations: 96.91 kB / 474.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.1213, allocations: 4 kB / 474.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.1214, allocations: 4 kB / 474.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1214, allocations: 23.88 kB / 474.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1215, allocations: 12 kB / 474.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1216, allocations: 140.3 kB / 474.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1216, allocations: 0 / 474.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.1219, allocations: 52 kB / 474.4 MB, free: 7.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.1221, allocations: 103.2 kB / 474.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004901/0.1226, allocations: 275 kB / 474.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1226, allocations: 0 / 474.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.1228, allocations: 178.5 kB / 474.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.1231, allocations: 24.61 kB / 474.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.1239, allocations: 0.5213 MB / 475.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1242, allocations: 0.7676 MB / 476.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1244, allocations: 33.52 kB / 476.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1244, allocations: 19.44 kB / 476.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1244, allocations: 7.938 kB / 476.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of Templates: time 0.004072/0.1285, allocations: 1.525 MB / 477.8 MB, free: 3.848 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches