Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_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.001107/0.001107, allocations: 109.7 kB / 16.63 MB, free: 6.332 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.001128/0.001128, allocations: 189.9 kB / 17.55 MB, free: 5.801 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.245/1.245, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1651/0.1651, allocations: 38.02 MB / 329.4 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 65.11 kB / 398.4 MB, free: 34.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.08084, allocations: 58.06 MB / 456.4 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007292/0.08817, allocations: 7.613 MB / 464.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005045/0.09323, allocations: 4.424 MB / 468.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.09361, allocations: 15.94 kB / 468.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.09579, allocations: 0.9922 MB / 469.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.09796, allocations: 1.129 MB / 470.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.09863, allocations: 291.3 kB / 470.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.09994, allocations: 1.406 MB / 472.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008935/0.1008, allocations: 0.7353 MB / 473 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007696/0.1016, allocations: 0.6186 MB / 473.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008024/0.1024, allocations: 0.736 MB / 474.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.1026, allocations: 67.94 kB / 474.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.1044, allocations: 1.329 MB / 475.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004507/0.1048, allocations: 482.9 kB / 476.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.1053, allocations: 445.9 kB / 476.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.1072, allocations: 1.546 MB / 478.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1072, allocations: 3.938 kB / 478.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1072, allocations: 0 / 478.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.1072, allocations: 0 / 478.3 MB, free: 2.383 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.001646/0.1089, allocations: 1.12 MB / 479.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1089, allocations: 19.89 kB / 479.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.109, allocations: 127.2 kB / 479.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/0.1121, allocations: 387.4 kB / 479.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.1127, allocations: 478.6 kB / 480.4 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.1128, allocations: 54.36 kB / 480.4 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.1129, allocations: 76.34 kB / 480.5 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.1145, allocations: 1.18 MB / 481.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.1145, allocations: 7.891 kB / 481.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.1146, allocations: 31.98 kB / 481.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.158e-05/0.1147, allocations: 69.95 kB / 481.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.1164, allocations: 1.241 MB / 483 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004772/0.1212, allocations: 3.507 MB / 486.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.1227, allocations: 1.065 MB / 487.6 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/0.1235, allocations: 0.6528 MB / 488.2 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.301e-05/0.1235, allocations: 20.97 kB / 488.3 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1236, allocations: 47.56 kB / 488.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.705e-06/0.1236, allocations: 0 / 488.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006102/0.1297, allocations: 3.091 MB / 491.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.1297, allocations: 90.11 kB / 491.5 MB, free: 4.844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.1301, allocations: 365.5 kB / 491.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.1301, allocations: 37.7 kB / 491.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1303, allocations: 312.2 kB / 492.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.1305, allocations: 319.5 kB / 492.5 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.1308, allocations: 158.5 kB / 492.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1309, allocations: 366.8 kB / 493 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.1315, allocations: 469.7 kB / 493.5 MB, free: 2.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/0.1322, allocations: 0.5734 MB / 494 MB, free: 2.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.1336, allocations: 1.109 MB / 495.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1337, allocations: 0 / 495.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002277/0.1359, allocations: 1.473 MB / 496.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.136, allocations: 8 kB / 496.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.136, allocations: 7.938 kB / 496.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009258/0.1369, allocations: 346.4 kB / 497 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.1376, allocations: 175.7 kB / 497.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004902/0.1425, allocations: 4.187 MB / 0.4896 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.143, allocations: 47.95 kB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/0.1431, allocations: 35.92 kB / 0.4897 GB, free: 10.64 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.0004863/0.1436, allocations: 297.5 kB / 0.49 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.1437, allocations: 55.34 kB / 0.49 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.1464, allocations: 1.567 MB / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.1464, allocations: 12 kB / 0.4915 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1464, allocations: 4 kB / 0.4915 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.1464, allocations: 3.984 kB / 0.4916 GB, free: 8.684 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.00456/0.151, allocations: 3.032 MB / 0.4945 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.151, allocations: 4 kB / 0.4945 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/0.1518, allocations: 171.7 kB / 0.4947 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007848/0.1526, allocations: 292.5 kB / 0.495 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.1526, allocations: 27.98 kB / 0.495 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004425/0.1571, allocations: 3.908 MB / 0.4988 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1571, allocations: 4 kB / 0.4988 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1577/0.3148, allocations: 1.589 MB / 0.5004 GB, free: 56.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.3151, allocations: 150.5 kB / 0.5005 GB, free: 55.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.45e-05/0.3152, allocations: 23.31 kB / 0.5005 GB, free: 55.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.3156, allocations: 43.62 kB / 0.5006 GB, free: 55.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.3158, allocations: 83.67 kB / 0.5006 GB, free: 55.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.3159, allocations: 36.23 kB / 0.5007 GB, free: 55.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.3161, allocations: 259.1 kB / 0.5009 GB, free: 55.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3161, allocations: 0.7812 kB / 0.5009 GB, free: 55.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008891/0.317, allocations: 308 kB / 0.5012 GB, free: 55.89 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.002276/0.3193, allocations: 2.158 MB / 0.5033 GB, free: 55.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.3217, allocations: 1.678 MB / 0.505 GB, free: 54.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3217, allocations: 0 / 0.505 GB, free: 54.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.3227, allocations: 0.8479 MB / 0.5058 GB, free: 54.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.3234, allocations: 102 kB / 0.5059 GB, free: 54.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009055/0.3324, allocations: 7.94 MB / 0.5136 GB, free: 50.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.333, allocations: 1.069 MB / 0.5147 GB, free: 49.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004355/0.3335, allocations: 184 kB / 0.5149 GB, free: 49.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.3338, allocations: 260.4 kB / 0.5151 GB, free: 49.1 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3338, allocations: 1.406 kB / 0.5151 GB, free: 49.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.3599, allocations: 16.13 MB / 0.5309 GB, free: 40.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001244/0.3601, allocations: 226 kB / 0.5311 GB, free: 39.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.347, allocations: 3.938 kB / 0.5311 GB, free: 39.84 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)