Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,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.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,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.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008402/0.0008405, allocations: 97.66 kB / 16.3 MB, free: 5.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.0008213/0.0008213, allocations: 181.9 kB / 17.2 MB, free: 5.469 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.227/1.227, allocations: 223.2 MB / 241.1 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1595/0.1595, allocations: 38.07 MB / 330.3 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 12.88 kB / 400 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.09857, allocations: 59.17 MB / 459.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003304/0.1019, allocations: 3.117 MB / 462.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1036, allocations: 1.431 MB / 463.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1038, allocations: 15.88 kB / 463.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1039, allocations: 43.73 kB / 463.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.1043, allocations: 167.4 kB / 463.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.1046, allocations: 99.73 kB / 464 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.1048, allocations: 171.6 kB / 464.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.1053, allocations: 315 kB / 464.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1055, allocations: 99.66 kB / 464.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1056, allocations: 83.67 kB / 464.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1057, allocations: 8 kB / 464.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.106, allocations: 163.7 kB / 464.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.106, allocations: 87.78 kB / 464.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.1061, allocations: 65.58 kB / 465 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1064, allocations: 251.4 kB / 465.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.1064, allocations: 0 / 465.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1064, allocations: 0 / 465.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1064, allocations: 0 / 465.2 MB, free: 1.309 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.0005344/0.1069, allocations: 486.5 kB / 465.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.107, allocations: 12.03 kB / 465.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/0.1079, allocations: 119.7 kB / 465.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1082, allocations: 258.5 kB / 466.1 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1082, allocations: 19.91 kB / 466.1 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.1083, allocations: 23.92 kB / 466.1 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.1087, allocations: 309.7 kB / 466.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1088, allocations: 7.938 kB / 466.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.1088, allocations: 15.97 kB / 466.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.1088, allocations: 12 kB / 466.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.1093, allocations: 311.7 kB / 466.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.1108, allocations: 1.264 MB / 468 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.111, allocations: 161 kB / 468.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1111, allocations: 4.062 kB / 468.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1111, allocations: 38.56 kB / 468.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.1111, allocations: 0 / 468.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001348/0.1125, allocations: 0.6575 MB / 468.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1125, allocations: 85.23 kB / 469 MB, free: 13.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.1127, allocations: 190.3 kB / 469.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1127, allocations: 33.7 kB / 469.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.1128, allocations: 152 kB / 469.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.1129, allocations: 63.09 kB / 469.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.1129, allocations: 0 / 469.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.113, allocations: 334.8 kB / 469.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1131, allocations: 83.89 kB / 469.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.1133, allocations: 149.4 kB / 470 MB, free: 12.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1134, allocations: 106.1 kB / 470.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1134, allocations: 4 kB / 470.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005377/0.114, allocations: 345.8 kB / 470.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.114, allocations: 8.281 kB / 470.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.114, allocations: 4 kB / 470.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.1144, allocations: 92.78 kB / 470.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1145, allocations: 43.89 kB / 470.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.1167, allocations: 2.031 MB / 472.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1168, allocations: 15.94 kB / 472.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.1169, allocations: 8 kB / 472.6 MB, free: 9.438 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 (21): * Single equations (assignments): 20 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.117, allocations: 165.7 kB / 472.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.1171, allocations: 15.81 kB / 472.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.1176, allocations: 316.1 kB / 473.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.1176, allocations: 8.172 kB / 473.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1176, allocations: 0 / 473.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.1176, allocations: 3.984 kB / 473.1 MB, free: 8.926 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.1187, allocations: 0.8005 MB / 473.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1188, allocations: 0 / 473.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.1189, allocations: 23.98 kB / 473.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/0.1191, allocations: 84.84 kB / 474 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1191, allocations: 4.047 kB / 474 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.1208, allocations: 1.858 MB / 475.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1209, allocations: 3.938 kB / 475.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.1214, allocations: 446.8 kB / 476.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1215, allocations: 96.92 kB / 476.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1215, allocations: 0 / 476.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1217, allocations: 11.98 kB / 476.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1217, allocations: 23.84 kB / 476.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1217, allocations: 4 kB / 476.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.788e-05/0.1218, allocations: 140.3 kB / 476.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1218, allocations: 0 / 476.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004126/0.1222, allocations: 68 kB / 476.6 MB, free: 5.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 9.979e-05/0.1223, allocations: 111.2 kB / 476.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005731/0.1229, allocations: 362.4 kB / 477.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1229, allocations: 0.5625 kB / 477.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.1233, allocations: 257.3 kB / 477.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1235, allocations: 32.17 kB / 477.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.1243, allocations: 0.5685 MB / 478 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1246, allocations: 0.7758 MB / 478.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.1247, allocations: 49.75 kB / 478.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.1247, allocations: 15.44 kB / 478.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1247, allocations: 0 / 478.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of Templates: time 0.005465/0.1302, allocations: 2.621 MB / 481.4 MB, free: 236 kB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches