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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 112.8 kB / 17.69 MB, free: 5.309 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.002102/0.002102, allocations: 188 kB / 18.63 MB, free: 4.379 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.553/1.553, allocations: 205.1 MB / 224.5 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1868/0.1868, allocations: 37.98 MB / 309.8 MB, free: 5.98 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.001479/0.001479, allocations: 67.91 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3658, allocations: 55.24 MB / 432 MB, free: 19.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.00674/0.3726, allocations: 7.423 MB / 439.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004372/0.377, allocations: 4.429 MB / 443.9 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.3773, allocations: 15.94 kB / 443.9 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.3793, allocations: 1.038 MB / 444.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.3817, allocations: 1.199 MB / 446.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.3825, allocations: 319.1 kB / 446.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.3836, allocations: 1.399 MB / 447.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007206/0.3844, allocations: 0.6611 MB / 448.5 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000572/0.3849, allocations: 0.6108 MB / 449.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006225/0.3856, allocations: 0.6814 MB / 449.8 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.3857, allocations: 64 kB / 449.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.3877, allocations: 1.329 MB / 451.2 MB, free: 448 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003675/0.388, allocations: 486.8 kB / 451.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.3885, allocations: 438 kB / 452.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.3905, allocations: 1.461 MB / 453.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3905, allocations: 0 / 453.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.3905, allocations: 0 / 453.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.3905, allocations: 0 / 453.5 MB, free: 14.07 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.002079/0.3926, allocations: 1.128 MB / 454.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.3927, allocations: 11.89 kB / 454.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/0.3958, allocations: 387.4 kB / 455.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.3967, allocations: 486.6 kB / 455.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/0.3968, allocations: 54.36 kB / 455.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.3969, allocations: 76.36 kB / 455.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.3987, allocations: 1.176 MB / 456.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.3987, allocations: 4 kB / 456.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/0.3988, allocations: 27.98 kB / 456.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.3989, allocations: 73.95 kB / 456.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.4008, allocations: 1.245 MB / 458.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/0.4066, allocations: 3.491 MB / 461.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.4083, allocations: 1.073 MB / 462.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009416/0.4092, allocations: 0.6565 MB / 463.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.813e-05/0.4093, allocations: 20.98 kB / 463.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.4094, allocations: 51.55 kB / 463.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.006e-06/0.4094, allocations: 0 / 463.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006521/0.4159, allocations: 3.087 MB / 466.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.416, allocations: 94.03 kB / 466.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.4164, allocations: 369.5 kB / 467 MB, free: 300 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.4165, allocations: 41.7 kB / 467.1 MB, free: 252 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.4167, allocations: 308.3 kB / 467.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.417, allocations: 315.3 kB / 467.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.4172, allocations: 154.6 kB / 467.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4174, allocations: 366.8 kB / 468.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/0.4181, allocations: 469.7 kB / 468.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/0.4189, allocations: 0.5735 MB / 469.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.4205, allocations: 1.109 MB / 470.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4205, allocations: 0 / 470.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002462/0.423, allocations: 1.481 MB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.423, allocations: 12.03 kB / 471.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.423, allocations: 4 kB / 471.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000979/0.424, allocations: 329.8 kB / 472.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.4247, allocations: 183.7 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005525/0.4303, allocations: 4.189 MB / 476.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.4308, allocations: 47.94 kB / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.091e-05/0.4309, allocations: 39.98 kB / 476.6 MB, free: 6.453 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.0004324/0.4313, allocations: 285.6 kB / 476.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.4314, allocations: 59.34 kB / 476.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/0.4341, allocations: 1.563 MB / 478.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4341, allocations: 11.98 kB / 478.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4341, allocations: 4 kB / 478.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.4341, allocations: 7.984 kB / 478.5 MB, free: 4.508 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.00502/0.4392, allocations: 3.039 MB / 481.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.4392, allocations: 4 kB / 481.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.4399, allocations: 171.7 kB / 481.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008073/0.4407, allocations: 285 kB / 482 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.4407, allocations: 23.98 kB / 482 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005131/0.4459, allocations: 3.913 MB / 485.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4459, allocations: 4 kB / 485.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.4485, allocations: 1.598 MB / 487.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.4487, allocations: 140.3 kB / 487.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.4488, allocations: 23.98 kB / 487.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.4492, allocations: 51.91 kB / 487.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.4494, allocations: 76.83 kB / 487.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/0.4495, allocations: 35.98 kB / 487.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.4498, allocations: 263.1 kB / 488.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4498, allocations: 0 / 488.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009984/0.4508, allocations: 300 kB / 488.4 MB, free: 10.23 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.0001824/0.451, allocations: 139 kB / 488.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.4533, allocations: 1.405 MB / 490 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4533, allocations: 0 / 490 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.4545, allocations: 0.8475 MB / 490.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.4552, allocations: 106.3 kB / 490.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.458, allocations: 1.769 MB / 492.7 MB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/0.4588, allocations: 1.075 MB / 493.8 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004008/0.4592, allocations: 180.6 kB / 493.9 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.4594, allocations: 71.41 kB / 494 MB, free: 4.52 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4594, allocations: 0 / 494 MB, free: 4.52 MB / 366.1 MB Notification: Performance of Templates: time 0.01822/0.4776, allocations: 10.11 MB / 0.4923 GB, free: 10.43 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (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 & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)