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 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_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.002191/0.002192, allocations: 108.6 kB / 17.29 MB, free: 6.188 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.002167/0.002167, allocations: 197.3 kB / 18.21 MB, free: 5.266 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.665/2.665, allocations: 222.9 MB / 241.9 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3485/0.3485, allocations: 38.02 MB / 330 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002584/0.002584, allocations: 64.8 kB / 398.9 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.179, allocations: 58.07 MB / 457 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.01114/0.1903, allocations: 7.627 MB / 464.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008283/0.1986, allocations: 4.483 MB / 469.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.1999, allocations: 19.94 kB / 469.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004009/0.2039, allocations: 0.988 MB / 470.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.2095, allocations: 1.196 MB / 471.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.2112, allocations: 311.3 kB / 471.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002498/0.2137, allocations: 1.402 MB / 473 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.2157, allocations: 0.8828 MB / 473.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.2176, allocations: 0.6342 MB / 474.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.2195, allocations: 0.8257 MB / 475.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00043/0.2199, allocations: 80 kB / 475.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004303/0.2243, allocations: 1.524 MB / 477 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.2254, allocations: 0.608 MB / 477.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.2268, allocations: 0.5677 MB / 478.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.2305, allocations: 1.431 MB / 479.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.2306, allocations: 0 / 479.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.2306, allocations: 3.938 kB / 479.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.2306, allocations: 0 / 479.6 MB, free: 1.73 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003272/0.2339, allocations: 1.334 MB / 480.9 MB, free: 356 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.883e-05/0.234, allocations: 15.89 kB / 480.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.2385, allocations: 0.5341 MB / 481.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.2399, allocations: 0.552 MB / 482 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.462e-05/0.24, allocations: 66.36 kB / 482.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.2404, allocations: 92.22 kB / 482.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/0.244, allocations: 1.505 MB / 483.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/0.244, allocations: 3.984 kB / 483.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.2442, allocations: 35.98 kB / 483.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.2443, allocations: 102 kB / 483.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.2477, allocations: 1.55 MB / 485.4 MB, free: 11.8 MB / 366.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.01274/0.2605, allocations: 4.919 MB / 490.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.2628, allocations: 1.177 MB / 491.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.2641, allocations: 0.7663 MB / 492.2 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.2643, allocations: 21.05 kB / 492.2 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.741e-05/0.2644, allocations: 47.78 kB / 492.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 6.913e-06/0.2644, allocations: 0 / 492.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.01019/0.2746, allocations: 3.673 MB / 496 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.2747, allocations: 94.09 kB / 496.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/0.2755, allocations: 469.8 kB / 496.5 MB, free: 332 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.2757, allocations: 57.58 kB / 496.6 MB, free: 268 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.2761, allocations: 423.5 kB / 497 MB, free: 15.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.2767, allocations: 370.6 kB / 497.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/0.2771, allocations: 202.8 kB / 497.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.2773, allocations: 378.8 kB / 497.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009741/0.2783, allocations: 0.5413 MB / 498.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.2796, allocations: 0.7501 MB / 499.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.2822, allocations: 1.4 MB / 0.4889 GB, free: 12.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/0.2822, allocations: 11.94 kB / 0.4889 GB, free: 12.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004003/0.2862, allocations: 1.805 MB / 0.4906 GB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.2863, allocations: 8 kB / 0.4906 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.2864, allocations: 4 kB / 0.4907 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.2878, allocations: 413.9 kB / 0.491 GB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.289, allocations: 235.6 kB / 0.4913 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.3001, allocations: 6.059 MB / 0.4972 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.3013, allocations: 68 kB / 0.4973 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/0.3017, allocations: 43.98 kB / 0.4973 GB, free: 3.07 MB / 382.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.001088/0.3028, allocations: 365.4 kB / 0.4976 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.3031, allocations: 71.16 kB / 0.4977 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/0.3073, allocations: 1.806 MB / 0.4995 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.3073, allocations: 15.94 kB / 0.4995 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.054e-05/0.3073, allocations: 15.94 kB / 0.4995 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.3074, allocations: 7.969 kB / 0.4995 GB, free: 0.7773 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.4738/0.7812, allocations: 3.457 MB / 0.5029 GB, free: 54.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/0.7813, allocations: 4.844 kB / 0.5029 GB, free: 54.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.783, allocations: 195.3 kB / 0.5031 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/0.7852, allocations: 355.5 kB / 0.5034 GB, free: 54.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/0.7854, allocations: 27.72 kB / 0.5034 GB, free: 54.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.7981, allocations: 5.782 MB / 0.5091 GB, free: 50.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.702e-05/0.7982, allocations: 4.594 kB / 0.5091 GB, free: 50.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006842/0.805, allocations: 1.83 MB / 0.5109 GB, free: 49.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006284/0.8057, allocations: 163.3 kB / 0.511 GB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/0.8061, allocations: 22.09 kB / 0.5111 GB, free: 49.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.8075, allocations: 54.06 kB / 0.5111 GB, free: 49.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005089/0.808, allocations: 98.47 kB / 0.5112 GB, free: 49.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/0.8082, allocations: 36.58 kB / 0.5112 GB, free: 49.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009264/0.8092, allocations: 325.1 kB / 0.5116 GB, free: 49.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8092, allocations: 0 / 0.5116 GB, free: 49.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003237/0.8125, allocations: 396.9 kB / 0.5119 GB, free: 49.6 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 (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.0004946/0.813, allocations: 125.5 kB / 0.5121 GB, free: 49.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008273/0.8213, allocations: 2.137 MB / 0.5141 GB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/0.8213, allocations: 1 kB / 0.5141 GB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003184/0.8245, allocations: 1.083 MB / 0.5152 GB, free: 48.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.8266, allocations: 121.4 kB / 0.5153 GB, free: 48.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008375/0.835, allocations: 2.763 MB / 0.518 GB, free: 46.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.8368, allocations: 1.172 MB / 0.5192 GB, free: 45.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008281/0.8377, allocations: 76.67 kB / 0.5192 GB, free: 45.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.024e-06/0.8377, allocations: 0 / 0.5192 GB, free: 45.87 MB / 382.1 MB Notification: Performance of Templates: time 0.0455/0.8832, allocations: 18.08 MB / 0.5369 GB, free: 33.82 MB / 382.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)