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.000869/0.0008692, allocations: 90.7 kB / 16.65 MB, free: 6.535 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.001012/0.001012, allocations: 178.4 kB / 17.56 MB, free: 6.18 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.227/1.227, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1668/0.1668, allocations: 38.05 MB / 310.1 MB, free: 5.922 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.0004826/0.0004826, allocations: 12 kB / 377.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1915, allocations: 56.33 MB / 433.6 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.004459/0.196, allocations: 7.194 MB / 440.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.1997, allocations: 4.449 MB / 445.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.2, allocations: 19.88 kB / 445.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.2002, allocations: 131.1 kB / 445.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.2018, allocations: 1.141 MB / 446.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.2023, allocations: 295.3 kB / 446.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.2037, allocations: 2.58 MB / 449.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.2053, allocations: 1.254 MB / 450.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.2058, allocations: 473.7 kB / 451.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.2064, allocations: 0.6814 MB / 451.8 MB, free: 404 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.2064, allocations: 35.94 kB / 451.8 MB, free: 368 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.2084, allocations: 1.598 MB / 453.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.2088, allocations: 438.9 kB / 453.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.2091, allocations: 411.7 kB / 454.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.2106, allocations: 1.507 MB / 455.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2106, allocations: 3.938 kB / 455.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2106, allocations: 0 / 455.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.2106, allocations: 0 / 455.8 MB, free: 12.4 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.001276/0.2119, allocations: 0.9836 MB / 456.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2119, allocations: 12.03 kB / 456.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.2121, allocations: 127.2 kB / 456.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/0.215, allocations: 395.4 kB / 457.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.2155, allocations: 474.6 kB / 457.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.2156, allocations: 62.36 kB / 457.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.2157, allocations: 68.36 kB / 457.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.2172, allocations: 1.176 MB / 459 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.2173, allocations: 0 / 459 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.2174, allocations: 35.98 kB / 459.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.153e-05/0.2174, allocations: 73.95 kB / 459.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.2191, allocations: 1.241 MB / 460.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.2236, allocations: 3.534 MB / 463.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.2251, allocations: 1.065 MB / 465 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/0.2259, allocations: 0.6567 MB / 465.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.226, allocations: 20.98 kB / 465.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.226, allocations: 43.56 kB / 465.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.044e-06/0.226, allocations: 0 / 465.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.005923/0.2319, allocations: 3.107 MB / 468.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.232, allocations: 90.14 kB / 468.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.2323, allocations: 361.6 kB / 469.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.2324, allocations: 41.7 kB / 469.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2326, allocations: 312.2 kB / 469.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.2328, allocations: 323.3 kB / 469.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/0.2329, allocations: 65.69 kB / 470 MB, free: 13.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.233, allocations: 374.7 kB / 470.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.2337, allocations: 465.7 kB / 470.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.2343, allocations: 0.5773 MB / 471.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.2357, allocations: 1.109 MB / 472.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2357, allocations: 0 / 472.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002168/0.2379, allocations: 1.481 MB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2379, allocations: 8 kB / 474 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2379, allocations: 4 kB / 474 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008803/0.2388, allocations: 336.8 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.2395, allocations: 179.7 kB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004611/0.2441, allocations: 3.883 MB / 478.4 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.2446, allocations: 47.95 kB / 478.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.2446, allocations: 39.86 kB / 478.4 MB, free: 5.145 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.0003695/0.245, allocations: 297.7 kB / 478.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.2451, allocations: 55.34 kB / 478.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.2476, allocations: 1.571 MB / 480.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.2477, allocations: 12 kB / 480.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2477, allocations: 4 kB / 480.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.2477, allocations: 7.969 kB / 480.4 MB, free: 3.18 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.004348/0.252, allocations: 3.028 MB / 483.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.2521, allocations: 4 kB / 483.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.2527, allocations: 167.7 kB / 483.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000736/0.2534, allocations: 289 kB / 483.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.2535, allocations: 27.98 kB / 483.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/0.2576, allocations: 3.609 MB / 487.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2576, allocations: 8.062 kB / 487.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.2598, allocations: 1.6 MB / 489.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2599, allocations: 144.3 kB / 489.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/0.26, allocations: 24 kB / 489.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.2604, allocations: 39.95 kB / 489.3 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.2605, allocations: 80.78 kB / 489.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.2606, allocations: 39.92 kB / 489.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.2609, allocations: 267.1 kB / 489.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2609, allocations: 0 / 489.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008087/0.2617, allocations: 304 kB / 490 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.002439/0.2641, allocations: 2.164 MB / 492.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.266, allocations: 1.393 MB / 493.5 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.266, allocations: 0 / 493.5 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.2671, allocations: 0.8399 MB / 494.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.2679, allocations: 102.9 kB / 494.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009821/0.2777, allocations: 7.969 MB / 0.4907 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/0.2784, allocations: 1.068 MB / 0.4917 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004302/0.2788, allocations: 180.6 kB / 0.4919 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.2792, allocations: 255.3 kB / 0.4921 GB, free: 10.88 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2792, allocations: 4 kB / 0.4921 GB, free: 10.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.3087, allocations: 15.21 MB / 0.507 GB, free: 11.69 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.3089, allocations: 220.4 kB / 0.5072 GB, free: 11.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.292, allocations: 0 / 0.5072 GB, free: 11.44 MB / 398.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/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)