Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001163, allocations: 105.6 kB / 17.06 MB, free: 6.027 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.001073/0.001073, allocations: 195 kB / 18 MB, free: 5.105 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.564/1.564, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1956/0.1956, allocations: 37.99 MB / 309.2 MB, free: 5.969 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.001382/0.001382, allocations: 63.91 kB / 431.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1519, allocations: 55.25 MB / 487.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009281/0.1612, allocations: 7.438 MB / 494.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006407/0.1677, allocations: 4.48 MB / 499 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007354/0.1685, allocations: 16 kB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.1714, allocations: 1.035 MB / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.1748, allocations: 1.277 MB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1759, allocations: 343 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.178, allocations: 1.402 MB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.1793, allocations: 0.8009 MB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.1806, allocations: 0.6342 MB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.1819, allocations: 0.7398 MB / 0.4934 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.1822, allocations: 84 kB / 0.4935 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.1852, allocations: 1.524 MB / 0.495 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006999/0.1859, allocations: 0.604 MB / 0.4956 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.187, allocations: 0.5638 MB / 0.4961 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003965/0.191, allocations: 1.878 MB / 0.498 GB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.191, allocations: 0 / 0.498 GB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.191, allocations: 0 / 0.498 GB, free: 1.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.508e-05/0.1911, allocations: 0 / 0.498 GB, free: 1.426 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002751/0.1939, allocations: 1.342 MB / 0.4993 GB, free: 32 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.1939, allocations: 11.89 kB / 0.4993 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003941/0.1979, allocations: 0.5458 MB / 0.4998 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.1989, allocations: 0.556 MB / 0.5004 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/0.199, allocations: 66.36 kB / 0.5004 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.1992, allocations: 84.36 kB / 0.5005 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.2016, allocations: 1.505 MB / 0.502 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.2017, allocations: 7.906 kB / 0.502 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-05/0.2018, allocations: 39.98 kB / 0.502 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.2019, allocations: 98 kB / 0.5021 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.2044, allocations: 1.542 MB / 0.5036 GB, free: 11.49 MB / 398.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 preOpt removeSimpleEquations (simulation): time 0.007786/0.2122, allocations: 4.896 MB / 0.5084 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.214, allocations: 1.18 MB / 0.5096 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.2151, allocations: 0.7646 MB / 0.5103 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-05/0.2152, allocations: 16.98 kB / 0.5103 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.2152, allocations: 43.56 kB / 0.5104 GB, free: 4.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/0.2152, allocations: 0 / 0.5104 GB, free: 4.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.007735/0.223, allocations: 3.677 MB / 0.514 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.223, allocations: 94.11 kB / 0.5141 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/0.2236, allocations: 469.8 kB / 0.5145 GB, free: 40 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/0.2237, allocations: 45.81 kB / 0.5145 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.2241, allocations: 431.3 kB / 0.515 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.2244, allocations: 370.6 kB / 0.5153 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.2248, allocations: 194.9 kB / 0.5155 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.225, allocations: 386.8 kB / 0.5159 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008517/0.2259, allocations: 0.5335 MB / 0.5164 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009511/0.2269, allocations: 0.7617 MB / 0.5171 GB, free: 13.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.2287, allocations: 1.408 MB / 0.5185 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.2287, allocations: 3.938 kB / 0.5185 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003019/0.2318, allocations: 1.802 MB / 0.5203 GB, free: 9.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.2318, allocations: 11.94 kB / 0.5203 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.2318, allocations: 8 kB / 0.5203 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.2329, allocations: 413.8 kB / 0.5207 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.2338, allocations: 239.6 kB / 0.5209 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007406/0.2412, allocations: 6.059 MB / 0.5268 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.242, allocations: 63.92 kB / 0.5269 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.2421, allocations: 43.98 kB / 0.5269 GB, free: 2.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005996/0.2427, allocations: 365.4 kB / 0.5273 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.2429, allocations: 71.16 kB / 0.5273 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.2459, allocations: 1.806 MB / 0.5291 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.2459, allocations: 15.98 kB / 0.5291 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/0.2459, allocations: 15.94 kB / 0.5291 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.246, allocations: 7.969 kB / 0.5291 GB, free: 0.5 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.3285/0.5744, allocations: 3.451 MB / 0.5325 GB, free: 50.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.5745, allocations: 3.594 kB / 0.5325 GB, free: 50.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007989/0.5753, allocations: 189.9 kB / 0.5327 GB, free: 50.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.5763, allocations: 352.8 kB / 0.533 GB, free: 50.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/0.5764, allocations: 29.31 kB / 0.5331 GB, free: 50.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00672/0.5831, allocations: 5.782 MB / 0.5387 GB, free: 46.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.5832, allocations: 4.562 kB / 0.5387 GB, free: 46.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/0.5863, allocations: 1.833 MB / 0.5405 GB, free: 45.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.5865, allocations: 158.9 kB / 0.5407 GB, free: 45.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.5866, allocations: 22.73 kB / 0.5407 GB, free: 45.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/0.5871, allocations: 50.92 kB / 0.5407 GB, free: 45.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.5874, allocations: 96.02 kB / 0.5408 GB, free: 45.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.5874, allocations: 37.16 kB / 0.5409 GB, free: 45.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004634/0.5879, allocations: 324 kB / 0.5412 GB, free: 45.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5879, allocations: 4.719 kB / 0.5412 GB, free: 45.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001611/0.5895, allocations: 397.2 kB / 0.5415 GB, free: 45.3 MB / 414.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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.0001908/0.5897, allocations: 127.3 kB / 0.5417 GB, free: 45.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.5926, allocations: 1.755 MB / 0.5434 GB, free: 44.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.5926, allocations: 3.938 kB / 0.5434 GB, free: 44.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.5942, allocations: 1.074 MB / 0.5444 GB, free: 43.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.595, allocations: 136.5 kB / 0.5446 GB, free: 43.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.5989, allocations: 2.201 MB / 0.5467 GB, free: 42.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008962/0.5998, allocations: 1.172 MB / 0.5479 GB, free: 42.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000603/0.6004, allocations: 239.3 kB / 0.5481 GB, free: 42.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.6007, allocations: 63.92 kB / 0.5481 GB, free: 42.08 MB / 414.1 MB Notification: Performance of SimCode: time 1.623e-06/0.6007, allocations: 0 / 0.5481 GB, free: 42.08 MB / 414.1 MB Notification: Performance of Templates: time 0.01994/0.6206, allocations: 12.97 MB / 0.5608 GB, free: 35.64 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)