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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 104.9 kB / 16.92 MB, free: 6.145 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.001077/0.001077, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.315/1.315, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1814/0.1814, allocations: 38.04 MB / 329.7 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 65.78 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09532, allocations: 58.07 MB / 457 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008765/0.1041, allocations: 7.394 MB / 464.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005589/0.1098, allocations: 4.389 MB / 468.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.1103, allocations: 15.94 kB / 468.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002488/0.1128, allocations: 1.038 MB / 469.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.1156, allocations: 1.195 MB / 471 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.1164, allocations: 327.1 kB / 471.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.1179, allocations: 1.406 MB / 472.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008622/0.1188, allocations: 0.6689 MB / 473.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009248/0.1197, allocations: 0.6108 MB / 474 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000898/0.1206, allocations: 0.6775 MB / 474.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.1208, allocations: 64 kB / 474.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.1227, allocations: 1.329 MB / 476.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004305/0.1232, allocations: 478.8 kB / 476.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.1237, allocations: 438 kB / 477 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.1256, allocations: 1.449 MB / 478.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1256, allocations: 0 / 478.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1256, allocations: 4 kB / 478.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.1257, allocations: 0 / 478.4 MB, free: 2.418 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.001609/0.1273, allocations: 1.124 MB / 479.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1273, allocations: 15.89 kB / 479.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.1275, allocations: 127.2 kB / 479.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002975/0.1305, allocations: 387.4 kB / 480.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.1311, allocations: 482.6 kB / 480.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.1312, allocations: 58.3 kB / 480.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.1313, allocations: 72.36 kB / 480.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.1329, allocations: 1.172 MB / 481.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.133, allocations: 3.906 kB / 481.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-05/0.133, allocations: 31.98 kB / 481.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.543e-05/0.1331, allocations: 81.88 kB / 482 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.1348, allocations: 1.241 MB / 483.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004882/0.1397, allocations: 3.499 MB / 486.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.1414, allocations: 1.074 MB / 487.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008176/0.1422, allocations: 0.6528 MB / 488.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-05/0.1423, allocations: 20.97 kB / 488.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1423, allocations: 43.56 kB / 488.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.316e-06/0.1423, allocations: 0 / 488.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006239/0.1486, allocations: 3.091 MB / 491.6 MB, free: 4.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.1487, allocations: 94.11 kB / 491.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.1492, allocations: 365.5 kB / 492 MB, free: 4.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.1493, allocations: 37.7 kB / 492.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.1495, allocations: 312.2 kB / 492.4 MB, free: 4.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.1499, allocations: 315.4 kB / 492.7 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.1502, allocations: 158.5 kB / 492.8 MB, free: 3.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1503, allocations: 370.8 kB / 493.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/0.1511, allocations: 469.7 kB / 493.7 MB, free: 2.852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00082/0.1519, allocations: 0.5695 MB / 494.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.1535, allocations: 1.113 MB / 495.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1535, allocations: 0 / 495.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002568/0.1561, allocations: 1.473 MB / 496.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.1561, allocations: 8 kB / 496.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.1561, allocations: 0 / 496.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/0.1571, allocations: 340.7 kB / 497.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007109/0.1579, allocations: 179.7 kB / 497.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/0.1631, allocations: 4.193 MB / 0.4898 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/0.1637, allocations: 51.94 kB / 0.4898 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.1639, allocations: 36.05 kB / 0.4899 GB, free: 10.67 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.0004744/0.1643, allocations: 289.6 kB / 0.4901 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.1645, allocations: 55.34 kB / 0.4902 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.1671, allocations: 1.571 MB / 0.4917 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.1671, allocations: 12 kB / 0.4917 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.1671, allocations: 4 kB / 0.4917 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.1671, allocations: 7.922 kB / 0.4917 GB, free: 8.715 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.00471/0.1718, allocations: 3.032 MB / 0.4947 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.108e-06/0.1719, allocations: 4 kB / 0.4947 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.1725, allocations: 167.8 kB / 0.4949 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007779/0.1733, allocations: 292.9 kB / 0.4951 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.1734, allocations: 23.98 kB / 0.4952 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/0.1781, allocations: 3.914 MB / 0.499 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.1782, allocations: 7.938 kB / 0.499 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.177/0.3552, allocations: 1.589 MB / 0.5005 GB, free: 56.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.3554, allocations: 145.4 kB / 0.5007 GB, free: 56.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3555, allocations: 21.52 kB / 0.5007 GB, free: 56.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.356, allocations: 43.41 kB / 0.5007 GB, free: 56.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.3561, allocations: 83.22 kB / 0.5008 GB, free: 56.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.3562, allocations: 36.86 kB / 0.5009 GB, free: 56.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.3565, allocations: 259.2 kB / 0.5011 GB, free: 56.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3565, allocations: 0.7188 kB / 0.5011 GB, free: 56.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009252/0.3575, allocations: 307.6 kB / 0.5014 GB, free: 56.26 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.00252/0.36, allocations: 2.158 MB / 0.5035 GB, free: 55.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002658/0.3627, allocations: 1.676 MB / 0.5051 GB, free: 54.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3627, allocations: 1.062 kB / 0.5051 GB, free: 54.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.3638, allocations: 0.8488 MB / 0.506 GB, free: 54.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.3645, allocations: 102.7 kB / 0.5061 GB, free: 54.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.3758, allocations: 7.604 MB / 0.5135 GB, free: 50.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/0.3765, allocations: 1.071 MB / 0.5145 GB, free: 49.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000523/0.3771, allocations: 182.2 kB / 0.5147 GB, free: 49.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/0.3775, allocations: 262.5 kB / 0.515 GB, free: 49.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3775, allocations: 2.25 kB / 0.515 GB, free: 49.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.4121, allocations: 16.21 MB / 0.5308 GB, free: 40.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.438/9.85, allocations: 7.922 kB / 0.5308 GB, free: 40.38 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches