Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.0009053/0.0009054, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.00117/0.00117, allocations: 183 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 223.4 MB, free: 5.293 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3742/0.3742, allocations: 38.05 MB / 309.7 MB, free: 9.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005353/0.0005353, allocations: 16 kB / 376.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1291, allocations: 56.33 MB / 433 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007553/0.1367, allocations: 6.761 MB / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006316/0.1431, allocations: 4.163 MB / 443.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005034/0.1437, allocations: 15.94 kB / 443.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.1441, allocations: 139 kB / 444 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.1466, allocations: 0.8756 MB / 444.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.1473, allocations: 247.3 kB / 445.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.1499, allocations: 1.909 MB / 447.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002911/0.1529, allocations: 1.17 MB / 448.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.1543, allocations: 0.4899 MB / 448.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.1557, allocations: 0.6619 MB / 449.4 MB, free: 6.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.1558, allocations: 32 kB / 449.4 MB, free: 6.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.1584, allocations: 0.7285 MB / 450.1 MB, free: 5.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005618/0.159, allocations: 446.9 kB / 450.6 MB, free: 4.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.1592, allocations: 173.3 kB / 450.7 MB, free: 4.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.1609, allocations: 1.033 MB / 451.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.161, allocations: 4 kB / 451.8 MB, free: 3.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.161, allocations: 0 / 451.8 MB, free: 3.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.161, allocations: 0 / 451.8 MB, free: 3.668 MB / 382.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.001979/0.163, allocations: 0.995 MB / 452.8 MB, free: 2.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.1631, allocations: 12.03 kB / 452.8 MB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/0.1633, allocations: 127 kB / 452.9 MB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004368/0.1677, allocations: 390.5 kB / 453.3 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.1688, allocations: 465.6 kB / 453.7 MB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/0.1689, allocations: 53.98 kB / 453.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.169, allocations: 71.98 kB / 453.9 MB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.1715, allocations: 1.176 MB / 455 MB, free: 284 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.1715, allocations: 7.891 kB / 455.1 MB, free: 276 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.833e-05/0.1716, allocations: 35.92 kB / 455.1 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.1717, allocations: 69.95 kB / 455.2 MB, free: 168 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2464/0.4181, allocations: 1.234 MB / 456.4 MB, free: 50.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00475/0.4229, allocations: 3.527 MB / 459.9 MB, free: 50.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.4244, allocations: 1.056 MB / 461 MB, free: 50.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000705/0.4252, allocations: 0.6494 MB / 461.6 MB, free: 50.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.4252, allocations: 19.25 kB / 461.6 MB, free: 50.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.4253, allocations: 47.31 kB / 461.7 MB, free: 50 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.397e-06/0.4253, allocations: 0 / 461.7 MB, free: 50 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.00569/0.431, allocations: 3.059 MB / 464.7 MB, free: 49.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.4311, allocations: 87.73 kB / 464.8 MB, free: 49.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.4314, allocations: 366 kB / 465.2 MB, free: 48.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.4315, allocations: 40.95 kB / 465.2 MB, free: 48.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.4316, allocations: 311.6 kB / 465.5 MB, free: 48.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.4318, allocations: 312.2 kB / 465.8 MB, free: 48.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.4319, allocations: 26.42 kB / 465.9 MB, free: 48.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.432, allocations: 367.8 kB / 466.2 MB, free: 48.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/0.4326, allocations: 466 kB / 466.7 MB, free: 47.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.4332, allocations: 0.5618 MB / 467.2 MB, free: 47.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.4339, allocations: 0.5415 MB / 467.8 MB, free: 47.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4339, allocations: 3.406 kB / 467.8 MB, free: 47.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002005/0.4359, allocations: 1.468 MB / 469.3 MB, free: 46.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4359, allocations: 5.812 kB / 469.3 MB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.4359, allocations: 3.031 kB / 469.3 MB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008192/0.4368, allocations: 335.7 kB / 469.6 MB, free: 46.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.4374, allocations: 184.9 kB / 469.8 MB, free: 46.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.4416, allocations: 3.869 MB / 473.6 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.442, allocations: 46.66 kB / 473.7 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.894e-05/0.4421, allocations: 35.8 kB / 473.7 MB, free: 44.39 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 (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: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003695/0.4425, allocations: 301.8 kB / 474 MB, free: 44.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.4426, allocations: 59.69 kB / 474.1 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.4449, allocations: 1.544 MB / 475.6 MB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.4449, allocations: 23.09 kB / 475.6 MB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4449, allocations: 3.25 kB / 475.6 MB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4449, allocations: 3.375 kB / 475.6 MB, free: 43.55 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.004046/0.449, allocations: 3.034 MB / 478.7 MB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.449, allocations: 3.312 kB / 478.7 MB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.4495, allocations: 164.7 kB / 478.8 MB, free: 42.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006756/0.4502, allocations: 292.3 kB / 479.1 MB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.4503, allocations: 29.17 kB / 479.2 MB, free: 42.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003912/0.4542, allocations: 3.611 MB / 482.8 MB, free: 39.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4542, allocations: 3.125 kB / 482.8 MB, free: 39.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.4563, allocations: 1.582 MB / 484.4 MB, free: 39.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.4564, allocations: 140.1 kB / 484.5 MB, free: 38.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.4565, allocations: 29.5 kB / 484.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.4569, allocations: 46.16 kB / 484.6 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.457, allocations: 74.81 kB / 484.6 MB, free: 38.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.4571, allocations: 37.14 kB / 484.7 MB, free: 38.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002541/0.4574, allocations: 255.7 kB / 484.9 MB, free: 38.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4574, allocations: 4 kB / 484.9 MB, free: 38.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001053/0.4584, allocations: 301.8 kB / 485.2 MB, free: 38.68 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 (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: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002245/0.4607, allocations: 2.154 MB / 487.4 MB, free: 37.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.4627, allocations: 1.389 MB / 488.8 MB, free: 36.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4628, allocations: 0 / 488.8 MB, free: 36.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.464, allocations: 0.8413 MB / 489.6 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.4646, allocations: 104.9 kB / 489.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008168/0.4728, allocations: 5.193 MB / 494.9 MB, free: 33.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.4735, allocations: 1.071 MB / 496 MB, free: 33.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004906/0.474, allocations: 181.7 kB / 496.1 MB, free: 33.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.4744, allocations: 258.4 kB / 496.4 MB, free: 32.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4744, allocations: 2.656 kB / 496.4 MB, free: 32.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03575/0.5102, allocations: 14.98 MB / 0.4994 GB, free: 29.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.5104, allocations: 205.3 kB / 0.4996 GB, free: 29.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.628, allocations: 0 / 0.4996 GB, free: 29.14 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) Environment - environmentSimulation: