Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002466/0.002466, allocations: 117.7 kB / 17.13 MB, free: 5.922 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.002807/0.002807, allocations: 197.2 kB / 18.06 MB, free: 5 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.606/2.606, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1108/0.1108, allocations: 8.096 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1757, allocations: 51.51 MB / 466.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.01324/0.189, allocations: 6.13 MB / 472.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007944/0.197, allocations: 2.439 MB / 475.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.1991, allocations: 24 kB / 475.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.2014, allocations: 333.7 kB / 475.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.2058, allocations: 0.6445 MB / 476.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00567/0.2115, allocations: 1.497 MB / 477.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004038/0.2156, allocations: 1.455 MB / 479.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.2173, allocations: 0.5327 MB / 479.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.219, allocations: 0.5994 MB / 480.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.2215, allocations: 0.7431 MB / 481.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008673/0.2224, allocations: 144 kB / 481.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.2246, allocations: 387.7 kB / 481.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007931/0.2254, allocations: 310.9 kB / 481.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002515/0.228, allocations: 0.6999 MB / 482.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005685/0.2337, allocations: 1.819 MB / 484.4 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.2337, allocations: 0 / 484.4 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2337, allocations: 0 / 484.4 MB, free: 356 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.743e-05/0.2338, allocations: 0 / 484.4 MB, free: 356 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.02583/0.2597, allocations: 3.236 MB / 487.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/0.2598, allocations: 15.89 kB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2609, allocations: 135.4 kB / 487.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.2637, allocations: 0.7653 MB / 488.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.2638, allocations: 78.38 kB / 488.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00054/0.2644, allocations: 96.38 kB / 488.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00561/0.27, allocations: 1.529 MB / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.2701, allocations: 192 / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.2704, allocations: 43.92 kB / 490.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.009e-05/0.2704, allocations: 24 kB / 490.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/0.2751, allocations: 1.464 MB / 491.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.2915, allocations: 5.999 MB / 497.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007209/0.2988, allocations: 3.757 MB / 0.4898 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/0.3021, allocations: 1.106 MB / 0.4909 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003255/0.3024, allocations: 37.25 kB / 0.4909 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.3026, allocations: 52.11 kB / 0.4909 GB, free: 13.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=151): time 5.681e-06/0.3026, allocations: 0 / 0.4909 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=151): time 0.05927/0.3619, allocations: 8.282 MB / 0.499 GB, free: 4.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.362, allocations: 120.1 kB / 0.4992 GB, free: 4.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.3642, allocations: 0.6721 MB / 0.4998 GB, free: 3.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006256/0.3649, allocations: 65.7 kB / 0.4999 GB, free: 3.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/0.3654, allocations: 342.4 kB / 0.5002 GB, free: 3.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.3665, allocations: 0.4965 MB / 0.5007 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001481/0.368, allocations: 291.5 kB / 0.501 GB, free: 2.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.3683, allocations: 345.9 kB / 0.5013 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/0.3715, allocations: 0.9645 MB / 0.5022 GB, free: 1.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003371/0.3749, allocations: 1.082 MB / 0.5033 GB, free: 308 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4362/0.8111, allocations: 2.163 MB / 0.5054 GB, free: 44.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/0.8112, allocations: 0 / 0.5054 GB, free: 44.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.02044/0.8316, allocations: 4.115 MB / 0.5094 GB, free: 42.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.8318, allocations: 4.094 kB / 0.5094 GB, free: 42.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/0.8318, allocations: 5.375 kB / 0.5094 GB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02347/0.8553, allocations: 4.2 MB / 0.5135 GB, free: 42.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.8574, allocations: 236.5 kB / 0.5138 GB, free: 42.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04245/0.8999, allocations: 13.11 MB / 0.5266 GB, free: 34.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.9021, allocations: 142.6 kB / 0.5267 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002923/0.9024, allocations: 50.33 kB / 0.5267 GB, free: 34.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0009724/0.9034, allocations: 303.9 kB / 0.527 GB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004495/0.9039, allocations: 111.5 kB / 0.5271 GB, free: 34.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/0.9206, allocations: 4.077 MB / 0.5311 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/0.9207, allocations: 16 kB / 0.5311 GB, free: 32.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.9208, allocations: 8 kB / 0.5311 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.166e-05/0.9208, allocations: 11.27 kB / 0.5312 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/0.9404, allocations: 5.988 MB / 0.537 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/0.9405, allocations: 0 / 0.537 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.9417, allocations: 175.7 kB / 0.5372 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01707/0.9588, allocations: 2.891 MB / 0.54 GB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004471/0.9593, allocations: 35.92 kB / 0.54 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03712/0.9964, allocations: 12.9 MB / 0.5526 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.9965, allocations: 0 / 0.5526 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.013, allocations: 3.945 MB / 0.5565 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/1.013, allocations: 207.3 kB / 0.5567 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000485/1.014, allocations: 27.94 kB / 0.5567 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/1.016, allocations: 98.61 kB / 0.5568 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007812/1.016, allocations: 134.3 kB / 0.5569 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/1.017, allocations: 47.98 kB / 0.557 GB, free: 5.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001101/1.018, allocations: 463 kB / 0.5574 GB, free: 5.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.018, allocations: 0 / 0.5574 GB, free: 5.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003069/1.021, allocations: 0.5504 MB / 0.558 GB, free: 4.676 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 104 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004752/1.021, allocations: 157.9 kB / 0.5581 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01275/1.034, allocations: 3.446 MB / 0.5615 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.034, allocations: 0.6562 kB / 0.5615 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01029/1.045, allocations: 2.268 MB / 0.5637 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/1.047, allocations: 147.9 kB / 0.5638 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/1.055, allocations: 2.433 MB / 0.5662 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.056, allocations: 1.099 MB / 0.5673 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007186/1.057, allocations: 99.41 kB / 0.5674 GB, free: 10.97 MB / 398.1 MB Notification: Performance of SimCode: time 1.623e-06/1.057, allocations: 4 kB / 0.5674 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Templates: time 0.07225/1.129, allocations: 25.48 MB / 0.5923 GB, free: 1.516 MB / 414.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)