Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 100.9 kB / 16.56 MB, free: 6.785 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.00117/0.00117, allocations: 194 kB / 17.49 MB, free: 6.039 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.293/1.293, allocations: 222.9 MB / 241.2 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04838/0.04838, allocations: 8.098 MB / 299.4 MB, free: 6.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.89 kB / 361.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2138, allocations: 51.51 MB / 413.2 MB, free: 25.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004054/0.2179, allocations: 3.857 MB / 417.1 MB, free: 22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.2205, allocations: 1.954 MB / 419 MB, free: 20.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006039/0.2211, allocations: 12 kB / 419 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.2218, allocations: 183.1 kB / 419.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.2228, allocations: 346.1 kB / 419.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.2248, allocations: 1.281 MB / 420.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00086/0.2257, allocations: 0.7579 MB / 421.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.226, allocations: 214.3 kB / 421.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.2263, allocations: 310.8 kB / 422.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.2266, allocations: 410.2 kB / 422.5 MB, free: 16.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.2267, allocations: 44 kB / 422.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004952/0.2272, allocations: 279.7 kB / 422.8 MB, free: 16.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.2273, allocations: 143.4 kB / 422.9 MB, free: 16.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.2276, allocations: 362 kB / 423.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.2281, allocations: 0.6937 MB / 424 MB, free: 15.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2281, allocations: 0 / 424 MB, free: 15.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.2281, allocations: 4 kB / 424 MB, free: 15.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.2281, allocations: 0 / 424 MB, free: 15.02 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.007698/0.2358, allocations: 2.125 MB / 426.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.2359, allocations: 19.91 kB / 426.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.236, allocations: 80.09 kB / 426.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.2366, allocations: 485.7 kB / 426.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.2366, allocations: 45.38 kB / 426.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.2367, allocations: 60.38 kB / 426.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.2378, allocations: 0.8392 MB / 427.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2378, allocations: 192 / 427.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.2379, allocations: 23.94 kB / 427.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2379, allocations: 15.98 kB / 427.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.2389, allocations: 0.7926 MB / 428.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003486/0.2424, allocations: 3.331 MB / 431.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.2438, allocations: 1.356 MB / 433.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/0.2445, allocations: 0.5887 MB / 433.7 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.2446, allocations: 24.91 kB / 433.8 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.2447, allocations: 47.56 kB / 433.8 MB, free: 4.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=89): time 2.755e-06/0.2447, allocations: 4 kB / 433.8 MB, free: 4.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=89): time 0.0142/0.2589, allocations: 3.954 MB / 437.8 MB, free: 0.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.259, allocations: 111.8 kB / 437.9 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/0.2595, allocations: 441.7 kB / 438.3 MB, free: 136 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.2597, allocations: 45.7 kB / 438.4 MB, free: 84 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.2598, allocations: 233.5 kB / 438.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.2601, allocations: 307.5 kB / 438.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.2605, allocations: 182.6 kB / 439.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2607, allocations: 370.8 kB / 439.4 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000876/0.2616, allocations: 0.5369 MB / 440 MB, free: 14.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009539/0.2625, allocations: 0.6145 MB / 440.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.2643, allocations: 1.213 MB / 441.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2644, allocations: 3.938 kB / 441.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006643/0.271, allocations: 2.386 MB / 444.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.2711, allocations: 4.625 kB / 444.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2711, allocations: 0 / 444.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007117/0.2782, allocations: 1.773 MB / 446 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.2789, allocations: 147.8 kB / 446.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.2924, allocations: 6.727 MB / 452.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.2932, allocations: 95.11 kB / 452.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/0.2933, allocations: 31.98 kB / 453 MB, free: 1.312 MB / 318.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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003421/0.2936, allocations: 205.7 kB / 453.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.2938, allocations: 63.25 kB / 453.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006487/0.3003, allocations: 2.324 MB / 455.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3003, allocations: 12 kB / 455.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3003, allocations: 4 kB / 455.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.3003, allocations: 7.969 kB / 455.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007684/0.308, allocations: 3.332 MB / 458.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.3081, allocations: 0 / 458.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.3085, allocations: 107.9 kB / 459 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006911/0.3154, allocations: 1.499 MB / 460.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/0.3156, allocations: 27.98 kB / 460.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/0.3285, allocations: 6.596 MB / 467.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3286, allocations: 0 / 467.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/0.3349, allocations: 2.283 MB / 469.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.3352, allocations: 148 kB / 469.6 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.3353, allocations: 19.98 kB / 469.6 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.336, allocations: 55.97 kB / 469.6 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.3363, allocations: 76.83 kB / 469.7 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/0.3364, allocations: 35.98 kB / 469.7 MB, free: 260 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004052/0.3368, allocations: 291.2 kB / 470 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3368, allocations: 0 / 470 MB, free: 15.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00105/0.3378, allocations: 343.7 kB / 470.4 MB, free: 15.63 MB / 350.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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002813/0.3381, allocations: 143.1 kB / 470.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004629/0.3428, allocations: 1.935 MB / 472.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3428, allocations: 3.938 kB / 472.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003472/0.3463, allocations: 1.26 MB / 473.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.3471, allocations: 77.94 kB / 473.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.3498, allocations: 1.66 MB / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.3502, allocations: 0.922 MB / 476.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.3505, allocations: 63.42 kB / 476.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3505, allocations: 3.938 kB / 476.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of Templates: time 0.01819/0.3687, allocations: 14.08 MB / 490.5 MB, free: 11.41 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)