Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007166/0.0007167, allocations: 92.83 kB / 16.65 MB, free: 6.586 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.0007418/0.0007418, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.151/1.151, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1537/0.1537, allocations: 38.09 MB / 330.8 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.000274, allocations: 9 kB / 400.7 MB, free: 34.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08418/0.08447, allocations: 59.16 MB / 459.9 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006311/0.09082, allocations: 7.177 MB / 467.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005045/0.09589, allocations: 4.421 MB / 471.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.09625, allocations: 15.94 kB / 471.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.09659, allocations: 127.1 kB / 471.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.0988, allocations: 1.141 MB / 472.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.09955, allocations: 291.3 kB / 473 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00258/0.1021, allocations: 2.584 MB / 475.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.1042, allocations: 1.246 MB / 476.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009395/0.1052, allocations: 473.7 kB / 477.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.1062, allocations: 0.6814 MB / 478 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1064, allocations: 35.98 kB / 478.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.1087, allocations: 1.59 MB / 479.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004937/0.1092, allocations: 442.8 kB / 480.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.1097, allocations: 415.7 kB / 480.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.1116, allocations: 1.499 MB / 482 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1117, allocations: 0 / 482 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1117, allocations: 4 kB / 482 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1117, allocations: 0 / 482 MB, free: 0.8867 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001341/0.113, allocations: 0.9836 MB / 483 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1131, allocations: 11.97 kB / 483 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.1159, allocations: 391.4 kB / 483.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.1164, allocations: 478.6 kB / 483.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.1165, allocations: 58.36 kB / 483.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.1166, allocations: 76.27 kB / 484 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.1182, allocations: 1.172 MB / 485.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.1182, allocations: 3.938 kB / 485.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.1183, allocations: 35.97 kB / 485.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.859e-05/0.1184, allocations: 69.97 kB / 485.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.12, allocations: 1.245 MB / 486.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.1246, allocations: 3.535 MB / 490 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.1261, allocations: 1.065 MB / 491.1 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007816/0.1269, allocations: 0.6614 MB / 491.7 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.1269, allocations: 16.97 kB / 491.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.127, allocations: 47.56 kB / 491.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.494e-06/0.127, allocations: 0 / 491.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.00594/0.1329, allocations: 3.114 MB / 494.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.133, allocations: 94.23 kB / 495 MB, free: 3.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.1334, allocations: 357.7 kB / 495.4 MB, free: 3.203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.1334, allocations: 41.7 kB / 495.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1336, allocations: 312.1 kB / 495.7 MB, free: 2.844 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.1339, allocations: 311.4 kB / 496 MB, free: 2.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.134, allocations: 77.67 kB / 496.1 MB, free: 2.453 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1342, allocations: 362.8 kB / 496.4 MB, free: 2.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/0.1348, allocations: 469.7 kB / 496.9 MB, free: 1.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/0.1355, allocations: 0.5734 MB / 497.5 MB, free: 1.027 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.1369, allocations: 1.113 MB / 498.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.137, allocations: 0 / 498.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002223/0.1392, allocations: 1.477 MB / 0.4883 GB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1392, allocations: 8 kB / 0.4884 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1392, allocations: 3.984 kB / 0.4884 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008606/0.1401, allocations: 334.4 kB / 0.4887 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.1407, allocations: 179.7 kB / 0.4888 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004525/0.1453, allocations: 3.886 MB / 0.4926 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.1457, allocations: 43.95 kB / 0.4927 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.1458, allocations: 35.98 kB / 0.4927 GB, free: 9.754 MB / 382.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 (80): * Single equations (assignments): 79 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.1461, allocations: 298.4 kB / 0.493 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.1462, allocations: 59.33 kB / 0.4931 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.1487, allocations: 1.567 MB / 0.4946 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.1487, allocations: 16 kB / 0.4946 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1487, allocations: 4 kB / 0.4946 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1487, allocations: 3.984 kB / 0.4946 GB, free: 7.793 MB / 382.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.004357/0.1531, allocations: 3.04 MB / 0.4976 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.1531, allocations: 4 kB / 0.4976 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/0.1537, allocations: 163.8 kB / 0.4977 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007461/0.1544, allocations: 288.9 kB / 0.498 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.1545, allocations: 28 kB / 0.498 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/0.1588, allocations: 3.607 MB / 0.5016 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.1588, allocations: 7.938 kB / 0.5016 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1696/0.3285, allocations: 1.587 MB / 0.5031 GB, free: 55.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3286, allocations: 143.4 kB / 0.5033 GB, free: 55.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.3287, allocations: 23.86 kB / 0.5033 GB, free: 55.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.3291, allocations: 40.73 kB / 0.5033 GB, free: 55.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.3293, allocations: 86.53 kB / 0.5034 GB, free: 55.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.54e-05/0.3294, allocations: 38.19 kB / 0.5034 GB, free: 55.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.3296, allocations: 255.7 kB / 0.5037 GB, free: 55.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3296, allocations: 0 / 0.5037 GB, free: 55.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008305/0.3305, allocations: 309.4 kB / 0.504 GB, free: 55.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001288/0.3306, allocations: 132.7 kB / 0.5041 GB, free: 55.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.3325, allocations: 1.392 MB / 0.5055 GB, free: 55.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3325, allocations: 1.312 kB / 0.5055 GB, free: 55.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009948/0.3335, allocations: 0.8414 MB / 0.5063 GB, free: 54.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/0.3342, allocations: 104.6 kB / 0.5064 GB, free: 54.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3366, allocations: 2.17 MB / 0.5085 GB, free: 53.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.3371, allocations: 1.068 MB / 0.5095 GB, free: 53.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004161/0.3375, allocations: 183.6 kB / 0.5097 GB, free: 53.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.3377, allocations: 61.86 kB / 0.5098 GB, free: 53.01 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3377, allocations: 0 / 0.5098 GB, free: 53.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01355/0.3513, allocations: 9.327 MB / 0.5189 GB, free: 50.89 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches