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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 115.8 kB / 17.29 MB, free: 6.207 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.001463/0.001463, allocations: 197.3 kB / 18.21 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.066/2.066, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4423/0.4423, allocations: 38.02 MB / 330.1 MB, free: 8.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002232, allocations: 56.86 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2325, allocations: 58.07 MB / 457 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01489/0.2475, allocations: 7.623 MB / 464.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.2579, allocations: 4.428 MB / 469 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.2592, allocations: 19.94 kB / 469.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004137/0.2634, allocations: 0.9871 MB / 470 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005196/0.2686, allocations: 1.129 MB / 471.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.2705, allocations: 287.3 kB / 471.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.2739, allocations: 1.406 MB / 472.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.276, allocations: 0.7431 MB / 473.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.2782, allocations: 0.6108 MB / 474.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.2802, allocations: 0.7399 MB / 475 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003365/0.2805, allocations: 67.94 kB / 475 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.2845, allocations: 1.333 MB / 476.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.2857, allocations: 483 kB / 476.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.2871, allocations: 441.9 kB / 477.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.2905, allocations: 1.099 MB / 478.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.2906, allocations: 0 / 478.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.2906, allocations: 0 / 478.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.634e-05/0.2907, allocations: 4 kB / 478.4 MB, free: 2.945 MB / 350.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.004675/0.2953, allocations: 1.12 MB / 479.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.644e-05/0.2954, allocations: 15.89 kB / 479.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.3011, allocations: 391.4 kB / 479.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.3028, allocations: 474.7 kB / 480.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.3029, allocations: 54.36 kB / 480.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.3034, allocations: 72.36 kB / 480.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/0.3075, allocations: 1.184 MB / 481.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.38e-05/0.3076, allocations: 3.906 kB / 481.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.3078, allocations: 28 kB / 481.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.308, allocations: 73.95 kB / 481.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.3117, allocations: 1.241 MB / 483 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01167/0.3234, allocations: 3.519 MB / 486.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.3267, allocations: 1.062 MB / 487.6 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.3284, allocations: 0.6567 MB / 488.2 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.3286, allocations: 16.97 kB / 488.3 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.3286, allocations: 47.56 kB / 488.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 6.783e-06/0.3287, allocations: 0 / 488.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.01216/0.3408, allocations: 3.087 MB / 491.4 MB, free: 5.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.341, allocations: 90.11 kB / 491.5 MB, free: 5.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007664/0.3418, allocations: 365.5 kB / 491.8 MB, free: 5.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.342, allocations: 41.7 kB / 491.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.3424, allocations: 312.2 kB / 492.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/0.3429, allocations: 319.5 kB / 492.5 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004666/0.3434, allocations: 158.5 kB / 492.6 MB, free: 4.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.3437, allocations: 370.7 kB / 493 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.345, allocations: 465.7 kB / 493.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.3464, allocations: 0.5734 MB / 494 MB, free: 2.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/0.349, allocations: 1.113 MB / 495.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.3491, allocations: 0 / 495.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006355/0.3554, allocations: 1.473 MB / 496.6 MB, free: 292 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.3555, allocations: 8 kB / 496.6 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3556, allocations: 0 / 496.6 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.3571, allocations: 338.4 kB / 497 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.3584, allocations: 187.7 kB / 497.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009436/0.3679, allocations: 4.186 MB / 0.4896 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.369, allocations: 43.95 kB / 0.4896 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/0.3694, allocations: 35.98 kB / 0.4897 GB, free: 11.34 MB / 382.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.0009981/0.3704, allocations: 294.4 kB / 0.4899 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.3707, allocations: 59.34 kB / 0.49 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/0.3753, allocations: 1.563 MB / 0.4915 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.3754, allocations: 12 kB / 0.4915 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/0.3754, allocations: 4 kB / 0.4915 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.3754, allocations: 3.984 kB / 0.4915 GB, free: 9.387 MB / 382.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.009028/0.3845, allocations: 3.04 MB / 0.4945 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.3845, allocations: 8.375 kB / 0.4945 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.3855, allocations: 167.8 kB / 0.4947 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.3868, allocations: 288.5 kB / 0.4949 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.387, allocations: 27.98 kB / 0.495 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008311/0.3953, allocations: 3.903 MB / 0.4988 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.3954, allocations: 7.938 kB / 0.4988 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/0.3999, allocations: 1.6 MB / 0.5004 GB, free: 0 / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.8748, allocations: 139.6 kB / 0.5005 GB, free: 55.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003919/0.8752, allocations: 27.23 kB / 0.5005 GB, free: 55.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008906/0.8761, allocations: 45.34 kB / 0.5006 GB, free: 55.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003534/0.8765, allocations: 76.09 kB / 0.5006 GB, free: 55.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.8767, allocations: 46.38 kB / 0.5007 GB, free: 55.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006409/0.8773, allocations: 258.2 kB / 0.5009 GB, free: 55.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8773, allocations: 0 / 0.5009 GB, free: 55.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002105/0.8794, allocations: 307.9 kB / 0.5012 GB, free: 55.86 MB / 382.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.000279/0.8797, allocations: 120.8 kB / 0.5013 GB, free: 55.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006761/0.8865, allocations: 1.675 MB / 0.503 GB, free: 55.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.8866, allocations: 2.438 kB / 0.503 GB, free: 55.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005669/0.8923, allocations: 0.8417 MB / 0.5038 GB, free: 55.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.8942, allocations: 103.6 kB / 0.5039 GB, free: 55.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009/0.9032, allocations: 2.237 MB / 0.5061 GB, free: 54.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/0.9049, allocations: 1.068 MB / 0.5071 GB, free: 53.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/0.9083, allocations: 74.42 kB / 0.5072 GB, free: 53.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.815e-06/0.9083, allocations: 0 / 0.5072 GB, free: 53.48 MB / 382.1 MB Notification: Performance of Templates: time 0.04686/0.9552, allocations: 12.16 MB / 0.5191 GB, free: 50.12 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (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 & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)