Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.001639/0.001639, allocations: 112 kB / 17.06 MB, free: 5.992 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.001817/0.001817, allocations: 193.4 kB / 18 MB, free: 5.074 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1764/0.1764, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 71.81 kB / 457.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3042, allocations: 58.06 MB / 0.5036 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007139/0.3113, allocations: 7.557 MB / 0.511 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005603/0.317, allocations: 4.155 MB / 0.5151 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.3176, allocations: 13.47 kB / 0.5151 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.3203, allocations: 1.025 MB / 0.5161 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003213/0.3235, allocations: 1.101 MB / 0.5172 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009815/0.3245, allocations: 305.8 kB / 0.5175 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001922/0.3265, allocations: 1.364 MB / 0.5188 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008939/0.3274, allocations: 462.2 kB / 0.5192 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.3285, allocations: 0.5655 MB / 0.5198 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008498/0.3294, allocations: 0.5797 MB / 0.5203 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.3294, allocations: 35.31 kB / 0.5204 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.3315, allocations: 0.9888 MB / 0.5213 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003486/0.3318, allocations: 270.4 kB / 0.5216 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.3322, allocations: 248.1 kB / 0.5218 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.3336, allocations: 0.8248 MB / 0.5226 GB, free: 11.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3336, allocations: 0 / 0.5226 GB, free: 11.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3336, allocations: 0 / 0.5226 GB, free: 11.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3337, allocations: 0 / 0.5226 GB, free: 11.76 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001286/0.335, allocations: 0.8161 MB / 0.5234 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.335, allocations: 11.39 kB / 0.5235 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.3351, allocations: 83.02 kB / 0.5235 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.3367, allocations: 136.5 kB / 0.5237 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.3372, allocations: 341.6 kB / 0.524 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3373, allocations: 26.67 kB / 0.524 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.3373, allocations: 38.48 kB / 0.524 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008681/0.3382, allocations: 0.59 MB / 0.5246 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.3382, allocations: 5.312 kB / 0.5246 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.3383, allocations: 22.33 kB / 0.5247 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.3384, allocations: 36.77 kB / 0.5247 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.3389, allocations: 379.4 kB / 0.525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.3418, allocations: 2.594 MB / 0.5276 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.3425, allocations: 429.5 kB / 0.528 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.3428, allocations: 207 kB / 0.5282 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3428, allocations: 12.09 kB / 0.5282 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.3429, allocations: 46.44 kB / 0.5282 GB, free: 7.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/0.3429, allocations: 0 / 0.5282 GB, free: 7.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001783/0.3447, allocations: 0.7588 MB / 0.529 GB, free: 7.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.3448, allocations: 110.7 kB / 0.5291 GB, free: 7.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.3451, allocations: 329.5 kB / 0.5294 GB, free: 7.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3452, allocations: 30.89 kB / 0.5294 GB, free: 7.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.3454, allocations: 260.1 kB / 0.5297 GB, free: 6.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.3455, allocations: 115.6 kB / 0.5298 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3457, allocations: 80.73 kB / 0.5299 GB, free: 6.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.3459, allocations: 351.4 kB / 0.5302 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3461, allocations: 127.9 kB / 0.5303 GB, free: 6.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.3464, allocations: 278.9 kB / 0.5306 GB, free: 6.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.3471, allocations: 460 kB / 0.531 GB, free: 5.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3471, allocations: 1.438 kB / 0.531 GB, free: 5.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009265/0.348, allocations: 0.5595 MB / 0.5316 GB, free: 5.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.348, allocations: 10.34 kB / 0.5316 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.348, allocations: 7.906 kB / 0.5316 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/0.3484, allocations: 119.7 kB / 0.5317 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.3486, allocations: 74.36 kB / 0.5318 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.3516, allocations: 2.568 MB / 0.5343 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.3519, allocations: 44.55 kB / 0.5343 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.352, allocations: 20.69 kB / 0.5344 GB, free: 3.445 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.3522, allocations: 200.5 kB / 0.5345 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.3523, allocations: 37.7 kB / 0.5346 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-05/0.3524, allocations: 49.86 kB / 0.5346 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3524, allocations: 4.5 kB / 0.5346 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.3525, allocations: 10.28 kB / 0.5346 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3525, allocations: 5.234 kB / 0.5346 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.3539, allocations: 0.9413 MB / 0.5356 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3539, allocations: 1.031 kB / 0.5356 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.354, allocations: 35.95 kB / 0.5356 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/0.3543, allocations: 108.6 kB / 0.5357 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.3543, allocations: 10.55 kB / 0.5357 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.3571, allocations: 2.563 MB / 0.5382 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3571, allocations: 1.781 kB / 0.5382 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009174/0.3581, allocations: 0.6317 MB / 0.5388 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3582, allocations: 121.9 kB / 0.539 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.3583, allocations: 11.19 kB / 0.539 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.3585, allocations: 6 kB / 0.539 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3585, allocations: 23.84 kB / 0.539 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.3586, allocations: 10.56 kB / 0.539 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.3589, allocations: 229 kB / 0.5392 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3589, allocations: 0 / 0.5392 GB, free: 15.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008104/0.3597, allocations: 160.2 kB / 0.5394 GB, free: 15.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001333/0.361, allocations: 1.159 MB / 0.5405 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.3622, allocations: 0.5218 MB / 0.541 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3622, allocations: 0 / 0.541 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005273/0.3627, allocations: 358.1 kB / 0.5414 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.3633, allocations: 55.91 kB / 0.5414 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/0.3689, allocations: 3.999 MB / 0.5453 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.3695, allocations: 0.8787 MB / 0.5462 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.3697, allocations: 74.17 kB / 0.5462 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3699, allocations: 111 kB / 0.5463 GB, free: 10 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3699, allocations: 4 kB / 0.5464 GB, free: 9.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.4059, allocations: 7.656 MB / 0.5538 GB, free: 4.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.55, allocations: 8.062 kB / 0.5538 GB, free: 4.016 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)