Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 105.2 kB / 16.57 MB, free: 6.262 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.001076/0.001076, allocations: 194.7 kB / 17.49 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05142/0.05142, allocations: 8.094 MB / 299.4 MB, free: 6.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 63.91 kB / 361.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2293, allocations: 51.52 MB / 413.2 MB, free: 25.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004431/0.2338, allocations: 5.864 MB / 419.1 MB, free: 19.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.2367, allocations: 2.335 MB / 421.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003857/0.2371, allocations: 16 kB / 421.4 MB, free: 17.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.2377, allocations: 262.8 kB / 421.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.2388, allocations: 0.536 MB / 422.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.241, allocations: 1.397 MB / 423.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.2421, allocations: 1.248 MB / 424.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.2425, allocations: 338.4 kB / 425.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/0.2429, allocations: 0.5057 MB / 425.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.2434, allocations: 0.6768 MB / 426.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.2435, allocations: 76 kB / 426.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.2441, allocations: 307.8 kB / 426.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2443, allocations: 238.8 kB / 427 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.2446, allocations: 0.5828 MB / 427.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007148/0.2454, allocations: 1.056 MB / 428.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2454, allocations: 0 / 428.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.2454, allocations: 0 / 428.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.2454, allocations: 0 / 428.6 MB, free: 10.33 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01179/0.2572, allocations: 3.145 MB / 431.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2573, allocations: 23.91 kB / 431.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.2575, allocations: 139.4 kB / 431.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00083/0.2584, allocations: 0.6755 MB / 432.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.2584, allocations: 74.38 kB / 432.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.2586, allocations: 96.38 kB / 432.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.2604, allocations: 1.342 MB / 434.1 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.2604, allocations: 3.938 kB / 434.1 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.2606, allocations: 40 kB / 434.2 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.2606, allocations: 23.94 kB / 434.2 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.2622, allocations: 1.277 MB / 435.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006273/0.2685, allocations: 5.242 MB / 440.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.2717, allocations: 3.108 MB / 443.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.2731, allocations: 0.9846 MB / 444.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.2733, allocations: 37.25 kB / 444.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/0.2733, allocations: 64.05 kB / 444.9 MB, free: 9.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=147): time 3.616e-06/0.2733, allocations: 0 / 444.9 MB, free: 9.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=147): time 0.02844/0.3018, allocations: 7.061 MB / 451.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.3019, allocations: 128.1 kB / 452.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008868/0.3028, allocations: 0.6409 MB / 452.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000217/0.303, allocations: 61.7 kB / 452.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.3033, allocations: 334.4 kB / 453.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/0.3037, allocations: 496.7 kB / 453.6 MB, free: 416 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00049/0.3042, allocations: 275.5 kB / 453.9 MB, free: 132 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3044, allocations: 349.9 kB / 454.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.3057, allocations: 0.8552 MB / 455 MB, free: 14.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.3072, allocations: 0.9846 MB / 456 MB, free: 13.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/0.3101, allocations: 1.932 MB / 458 MB, free: 12.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3102, allocations: 4 kB / 458 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01056/0.3207, allocations: 3.819 MB / 461.8 MB, free: 8.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.3208, allocations: 7.984 kB / 461.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3208, allocations: 0 / 461.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01227/0.3331, allocations: 3.938 MB / 465.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009758/0.3341, allocations: 227.7 kB / 466 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/0.3554, allocations: 10.44 MB / 476.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.3567, allocations: 134.5 kB / 476.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.3569, allocations: 51.98 kB / 476.6 MB, free: 9.258 MB / 350.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,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004885/0.3574, allocations: 265.6 kB / 476.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.3576, allocations: 110.8 kB / 476.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.3679, allocations: 3.793 MB / 480.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.3679, allocations: 19.98 kB / 480.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3679, allocations: 0 / 480.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/0.368, allocations: 11.91 kB / 480.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.38, allocations: 5.313 MB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.38, allocations: 0 / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.3807, allocations: 179.7 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/0.3914, allocations: 2.727 MB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.3917, allocations: 39.98 kB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02075/0.4124, allocations: 10.24 MB / 499.3 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4125, allocations: 0 / 499.3 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009958/0.4224, allocations: 3.667 MB / 0.4911 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.4228, allocations: 211.1 kB / 0.4913 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.423, allocations: 24 kB / 0.4914 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.4241, allocations: 87.92 kB / 0.4914 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004889/0.4246, allocations: 134.2 kB / 0.4916 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.4247, allocations: 48 kB / 0.4916 GB, free: 14.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006688/0.4254, allocations: 447 kB / 0.492 GB, free: 13.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4254, allocations: 0 / 0.492 GB, free: 13.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00151/0.4269, allocations: 0.5309 MB / 0.4926 GB, free: 13.15 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 (106): * Single equations (assignments): 105 * 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,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003144/0.4272, allocations: 160.8 kB / 0.4927 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007167/0.4344, allocations: 3.119 MB / 0.4958 GB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.4344, allocations: 8.656 kB / 0.4958 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005589/0.44, allocations: 2.054 MB / 0.4978 GB, free: 7.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4411, allocations: 137.6 kB / 0.4979 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.4454, allocations: 2.64 MB / 0.5005 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.4461, allocations: 1.092 MB / 0.5016 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.4465, allocations: 99.41 kB / 0.5016 GB, free: 3.781 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4465, allocations: 0 / 0.5016 GB, free: 3.781 MB / 382.1 MB Notification: Performance of Templates: time 0.1848/0.6313, allocations: 22.59 MB / 0.5237 GB, free: 81.71 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)