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 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,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.001035/0.001035, allocations: 103.2 kB / 16.51 MB, free: 6.707 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.001147/0.001148, allocations: 186.6 kB / 17.42 MB, free: 6.07 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.419/1.419, allocations: 205.1 MB / 223.3 MB, free: 12.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1647/0.1647, allocations: 37.98 MB / 308.6 MB, free: 6.238 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.001601/0.001601, allocations: 67.03 kB / 374.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2583, allocations: 55.24 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006738/0.2651, allocations: 7.625 MB / 437.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005157/0.2703, allocations: 4.538 MB / 442.1 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.2708, allocations: 15.94 kB / 442.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.2729, allocations: 0.9733 MB / 443.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.2754, allocations: 1.149 MB / 444.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.2762, allocations: 279.3 kB / 444.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.278, allocations: 2.592 MB / 447.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008199/0.2789, allocations: 0.6529 MB / 447.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000751/0.2796, allocations: 0.5133 MB / 448.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007085/0.2803, allocations: 0.7321 MB / 449 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.164e-05/0.2804, allocations: 52 kB / 449.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.2829, allocations: 1.606 MB / 450.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.2833, allocations: 474.7 kB / 451.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.2837, allocations: 418 kB / 451.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.2857, allocations: 1.535 MB / 453.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2857, allocations: 0 / 453.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2857, allocations: 0 / 453.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.2857, allocations: 0 / 453.1 MB, free: 12.55 MB / 334.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.001612/0.2874, allocations: 1.128 MB / 454.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2874, allocations: 15.97 kB / 454.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.2876, allocations: 131.2 kB / 454.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.2906, allocations: 383.4 kB / 454.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.2913, allocations: 482.6 kB / 455.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.2914, allocations: 58.3 kB / 455.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.2915, allocations: 68.36 kB / 455.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.2932, allocations: 1.176 MB / 456.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.2933, allocations: 4 kB / 456.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.2934, allocations: 31.92 kB / 456.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.132e-05/0.2935, allocations: 73.95 kB / 456.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.2952, allocations: 1.237 MB / 457.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.3002, allocations: 3.519 MB / 461.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.302, allocations: 1.073 MB / 462.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008674/0.3029, allocations: 0.6528 MB / 463.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-05/0.3029, allocations: 20.97 kB / 463.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.303, allocations: 47.56 kB / 463.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.575e-06/0.303, allocations: 0 / 463.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006267/0.3093, allocations: 3.083 MB / 466.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.3093, allocations: 90.11 kB / 466.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.3097, allocations: 361.6 kB / 466.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.3098, allocations: 41.7 kB / 466.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.31, allocations: 320.1 kB / 467 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.3103, allocations: 311.4 kB / 467.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.3105, allocations: 158.6 kB / 467.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3107, allocations: 370.8 kB / 467.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/0.3114, allocations: 465.7 kB / 468.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007468/0.3121, allocations: 0.5734 MB / 468.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.3136, allocations: 1.109 MB / 470 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3136, allocations: 0 / 470 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002396/0.316, allocations: 1.481 MB / 471.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3161, allocations: 4 kB / 471.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3161, allocations: 4 kB / 471.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000909/0.317, allocations: 332.8 kB / 471.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.3176, allocations: 187.7 kB / 472 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005003/0.3227, allocations: 3.86 MB / 475.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.3232, allocations: 47.89 kB / 475.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/0.3232, allocations: 43.92 kB / 476 MB, free: 5.125 MB / 350.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.0004288/0.3237, allocations: 293.7 kB / 476.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3238, allocations: 59.25 kB / 476.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.3263, allocations: 1.563 MB / 477.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.3264, allocations: 15.94 kB / 477.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.3264, allocations: 4 kB / 477.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3264, allocations: 11.97 kB / 477.9 MB, free: 3.16 MB / 350.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.004753/0.3312, allocations: 3.04 MB / 480.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3312, allocations: 4 kB / 480.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.3318, allocations: 163.8 kB / 481.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007905/0.3326, allocations: 289 kB / 481.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/0.3327, allocations: 23.98 kB / 481.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/0.3371, allocations: 3.604 MB / 485 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.3371, allocations: 7.938 kB / 485 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.3396, allocations: 1.592 MB / 486.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.3398, allocations: 140.3 kB / 486.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.3399, allocations: 20 kB / 486.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.3403, allocations: 51.95 kB / 486.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.3405, allocations: 80.78 kB / 486.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/0.3405, allocations: 35.98 kB / 486.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003197/0.3409, allocations: 263.1 kB / 487.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3409, allocations: 0 / 487.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001039/0.3419, allocations: 300 kB / 487.5 MB, free: 9.211 MB / 366.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.002674/0.3446, allocations: 2.164 MB / 489.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.3469, allocations: 1.393 MB / 491 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3469, allocations: 0 / 491 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.3481, allocations: 0.836 MB / 491.9 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007412/0.3489, allocations: 106.5 kB / 492 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.3602, allocations: 7.94 MB / 499.9 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000845/0.3611, allocations: 1.068 MB / 0.4892 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000504/0.3616, allocations: 184.6 kB / 0.4894 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.3621, allocations: 263.2 kB / 0.4897 GB, free: 10.9 MB / 382.1 MB Notification: Performance of SimCode: time 2.194e-06/0.3621, allocations: 0 / 0.4897 GB, free: 10.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.3923, allocations: 15.53 MB / 0.5048 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.3926, allocations: 221.2 kB / 0.505 GB, free: 11.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.451, allocations: 0 / 0.505 GB, free: 11.1 MB / 398.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)