Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 89.31 kB / 16.3 MB, free: 5.656 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.001261/0.001261, allocations: 187 kB / 17.2 MB, free: 5.59 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.255/1.255, allocations: 223.2 MB / 241.1 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1607/0.1607, allocations: 38.1 MB / 330.3 MB, free: 8.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 12 kB / 400 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09801, allocations: 59.17 MB / 459.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003576/0.1016, allocations: 3.128 MB / 462.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1035, allocations: 1.408 MB / 463.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.1037, allocations: 11.94 kB / 463.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1038, allocations: 43.69 kB / 463.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.1044, allocations: 167.4 kB / 463.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1047, allocations: 103.7 kB / 464 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1049, allocations: 155.7 kB / 464.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005597/0.1055, allocations: 309.8 kB / 464.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.1057, allocations: 107.6 kB / 464.5 MB, free: 2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1058, allocations: 87.7 kB / 464.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1059, allocations: 8 kB / 464.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.1062, allocations: 167.6 kB / 464.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.1063, allocations: 83.83 kB / 464.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.1064, allocations: 61.58 kB / 464.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1067, allocations: 251.4 kB / 465.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.1067, allocations: 0 / 465.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1067, allocations: 4 kB / 465.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.1067, allocations: 0 / 465.2 MB, free: 1.344 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.0005352/0.1072, allocations: 490.5 kB / 465.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1073, allocations: 11.97 kB / 465.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008291/0.1081, allocations: 103.7 kB / 465.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.1084, allocations: 254.5 kB / 466 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.1084, allocations: 19.91 kB / 466.1 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.1085, allocations: 16 kB / 466.1 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.1089, allocations: 317.6 kB / 466.4 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.109, allocations: 0 / 466.4 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.109, allocations: 8 kB / 466.4 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.109, allocations: 15.98 kB / 466.4 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.1094, allocations: 287.8 kB / 466.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.111, allocations: 1.268 MB / 468 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.1114, allocations: 233 kB / 468.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1114, allocations: 12.05 kB / 468.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1114, allocations: 38.55 kB / 468.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.1115, allocations: 3.938 kB / 468.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007069/0.1122, allocations: 435.6 kB / 468.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1122, allocations: 89.06 kB / 468.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1124, allocations: 194.3 kB / 468.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1124, allocations: 29.83 kB / 469 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.1125, allocations: 159.8 kB / 469.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1126, allocations: 59.2 kB / 469.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.1126, allocations: 8 kB / 469.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1127, allocations: 330.8 kB / 469.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.1128, allocations: 83.95 kB / 469.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.113, allocations: 158.2 kB / 469.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.1132, allocations: 111.9 kB / 469.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1132, allocations: 4 kB / 469.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003752/0.1135, allocations: 291.3 kB / 470.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1136, allocations: 8 kB / 470.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1136, allocations: 0 / 470.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1136, allocations: 7.938 kB / 470.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.1138, allocations: 55.89 kB / 470.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1138, allocations: 12.17 kB / 470.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.114, allocations: 19.98 kB / 470.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.114, allocations: 8 kB / 470.3 MB, free: 11.96 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.1141, allocations: 157.8 kB / 470.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.1142, allocations: 15.81 kB / 470.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.1145, allocations: 223.4 kB / 470.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1145, allocations: 4 kB / 470.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1145, allocations: 0 / 470.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1145, allocations: 3.953 kB / 470.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.1157, allocations: 0.9516 MB / 471.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.1158, allocations: 4 kB / 471.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1159, allocations: 39.91 kB / 471.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.1159, allocations: 4.5 kB / 471.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1159, allocations: 16 kB / 471.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.116, allocations: 4 kB / 471.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.116, allocations: 7.938 kB / 471.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.1164, allocations: 0.5844 MB / 472.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.1165, allocations: 108.9 kB / 472.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.1165, allocations: 4 kB / 472.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1167, allocations: 19.98 kB / 472.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1167, allocations: 23.88 kB / 472.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1168, allocations: 8 kB / 472.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.1169, allocations: 147 kB / 472.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1169, allocations: 3.938 kB / 472.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000338/0.1172, allocations: 56 kB / 472.6 MB, free: 9.297 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.433e-05/0.1173, allocations: 111.1 kB / 472.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002934/0.1176, allocations: 215.6 kB / 472.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1176, allocations: 0 / 472.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1178, allocations: 100.8 kB / 473 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1181, allocations: 36.16 kB / 473.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.1188, allocations: 0.6495 MB / 473.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1191, allocations: 0.7751 MB / 474.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.1193, allocations: 57.48 kB / 474.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.1193, allocations: 19.44 kB / 474.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1193, allocations: 0 / 474.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of Templates: time 0.003667/0.123, allocations: 1.68 MB / 476.3 MB, free: 5.555 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches