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 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_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.001256/0.001262, allocations: 114.5 kB / 17.07 MB, free: 6.016 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.001378/0.001378, allocations: 189.4 kB / 18 MB, free: 5.098 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1924/0.1924, allocations: 38.03 MB / 329.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.91 kB / 457.7 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3099, allocations: 58.06 MB / 0.5036 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006724/0.3167, allocations: 7.423 MB / 0.5109 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00532/0.3221, allocations: 4.395 MB / 0.5152 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.3226, allocations: 12.38 kB / 0.5152 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.3252, allocations: 1.035 MB / 0.5162 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.3281, allocations: 1.195 MB / 0.5174 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008927/0.329, allocations: 320.4 kB / 0.5177 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.331, allocations: 1.404 MB / 0.519 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.3322, allocations: 0.6621 MB / 0.5197 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.3333, allocations: 0.6153 MB / 0.5203 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3344, allocations: 0.6809 MB / 0.5209 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.3346, allocations: 64 kB / 0.521 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.3371, allocations: 1.332 MB / 0.5223 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005538/0.3377, allocations: 471.4 kB / 0.5228 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.3383, allocations: 450.6 kB / 0.5232 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.3409, allocations: 1.457 MB / 0.5246 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3409, allocations: 0 / 0.5246 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3409, allocations: 0 / 0.5246 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.3409, allocations: 1.094 kB / 0.5246 GB, free: 10.94 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002072/0.343, allocations: 1.153 MB / 0.5257 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.343, allocations: 12.23 kB / 0.5257 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.3432, allocations: 130.3 kB / 0.5259 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.3464, allocations: 393.6 kB / 0.5262 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008051/0.3472, allocations: 486.2 kB / 0.5267 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.3473, allocations: 54.8 kB / 0.5268 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.3474, allocations: 74.59 kB / 0.5268 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.3493, allocations: 1.183 MB / 0.528 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.3493, allocations: 1.188 kB / 0.528 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.3494, allocations: 31.8 kB / 0.528 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.561e-05/0.3495, allocations: 72.53 kB / 0.5281 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.3514, allocations: 1.251 MB / 0.5293 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005343/0.3568, allocations: 3.491 MB / 0.5327 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.3585, allocations: 1.054 MB / 0.5337 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009573/0.3595, allocations: 0.6675 MB / 0.5344 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.2e-05/0.3596, allocations: 15.5 kB / 0.5344 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.3596, allocations: 46.84 kB / 0.5345 GB, free: 5.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.815e-06/0.3596, allocations: 0 / 0.5345 GB, free: 5.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006969/0.3666, allocations: 3.114 MB / 0.5375 GB, free: 3.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.3667, allocations: 87.67 kB / 0.5376 GB, free: 3.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.3671, allocations: 366.8 kB / 0.5379 GB, free: 3.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.3672, allocations: 39.83 kB / 0.538 GB, free: 3.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.3674, allocations: 327.4 kB / 0.5383 GB, free: 3.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.3678, allocations: 330.4 kB / 0.5386 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.368, allocations: 159.3 kB / 0.5387 GB, free: 2.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3682, allocations: 365.9 kB / 0.5391 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006929/0.3689, allocations: 467 kB / 0.5395 GB, free: 2.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000782/0.3697, allocations: 0.5704 MB / 0.5401 GB, free: 1.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.3713, allocations: 1.116 MB / 0.5412 GB, free: 1.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3713, allocations: 0 / 0.5412 GB, free: 1.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002549/0.3738, allocations: 1.481 MB / 0.5426 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3739, allocations: 4 kB / 0.5426 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.3739, allocations: 7.984 kB / 0.5426 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009827/0.3749, allocations: 334.2 kB / 0.543 GB, free: 0 / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/0.3756, allocations: 183.7 kB / 0.5431 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005701/0.3814, allocations: 4.194 MB / 0.5472 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.3819, allocations: 43.95 kB / 0.5473 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.382, allocations: 35.98 kB / 0.5473 GB, free: 11.38 MB / 414.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.0004855/0.3825, allocations: 289.6 kB / 0.5476 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.3827, allocations: 59.62 kB / 0.5476 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.3855, allocations: 1.571 MB / 0.5492 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.3855, allocations: 12 kB / 0.5492 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3855, allocations: 4 kB / 0.5492 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.3855, allocations: 7.969 kB / 0.5492 GB, free: 9.418 MB / 414.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.005078/0.3906, allocations: 3.027 MB / 0.5522 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3906, allocations: 4 kB / 0.5522 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.3913, allocations: 163.7 kB / 0.5523 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008041/0.3921, allocations: 285 kB / 0.5526 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.128e-05/0.3922, allocations: 31.98 kB / 0.5526 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005187/0.3974, allocations: 3.918 MB / 0.5564 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3974, allocations: 4 kB / 0.5565 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.4, allocations: 1.598 MB / 0.558 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.4003, allocations: 148.6 kB / 0.5582 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/0.4004, allocations: 35.88 kB / 0.5582 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.4008, allocations: 39.95 kB / 0.5582 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.401, allocations: 80.83 kB / 0.5583 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/0.4011, allocations: 43.92 kB / 0.5583 GB, free: 15.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002964/0.4014, allocations: 251.2 kB / 0.5586 GB, free: 15.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4014, allocations: 0 / 0.5586 GB, free: 15.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009664/0.4023, allocations: 312 kB / 0.5589 GB, free: 15.14 MB / 430.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.002812/0.4052, allocations: 2.164 MB / 0.561 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.4074, allocations: 1.405 MB / 0.5624 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4075, allocations: 0 / 0.5624 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.4087, allocations: 0.8482 MB / 0.5632 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.4095, allocations: 108.6 kB / 0.5633 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.4204, allocations: 7.556 MB / 0.5707 GB, free: 2.727 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/0.4212, allocations: 1.068 MB / 0.5717 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004594/0.4217, allocations: 184.6 kB / 0.5719 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/0.4221, allocations: 259.3 kB / 0.5721 GB, free: 1.199 MB / 430.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4221, allocations: 0 / 0.5721 GB, free: 1.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04546/0.4676, allocations: 16.53 MB / 0.5883 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.19, allocations: 480 / 0.5883 GB, free: 0.7773 MB / 446.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)