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.001291/0.001291, allocations: 108.4 kB / 16.69 MB, free: 6.363 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.001293/0.001293, allocations: 186 kB / 17.61 MB, free: 5.746 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.346/1.346, allocations: 222.9 MB / 241.3 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.05517/0.05517, allocations: 8.097 MB / 299.5 MB, free: 6.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.89 kB / 361.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2051, allocations: 51.51 MB / 413.4 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003465/0.2086, allocations: 3.849 MB / 417.2 MB, free: 21.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.2109, allocations: 1.934 MB / 419.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.2111, allocations: 16 kB / 419.2 MB, free: 19.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.2116, allocations: 187.2 kB / 419.4 MB, free: 19.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006583/0.2122, allocations: 342.1 kB / 419.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.2141, allocations: 1.248 MB / 421 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006687/0.2147, allocations: 0.7814 MB / 421.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.215, allocations: 253.5 kB / 422 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.2153, allocations: 330.8 kB / 422.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.2156, allocations: 426.2 kB / 422.7 MB, free: 16.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.059e-05/0.2157, allocations: 64 kB / 422.8 MB, free: 16.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.2161, allocations: 299.7 kB / 423.1 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.2162, allocations: 155.4 kB / 423.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.2164, allocations: 386 kB / 423.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.217, allocations: 0.6976 MB / 424.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.217, allocations: 8 kB / 424.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.217, allocations: 0 / 424.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.217, allocations: 0 / 424.3 MB, free: 14.79 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.007584/0.2246, allocations: 2.125 MB / 426.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2247, allocations: 11.89 kB / 426.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.2248, allocations: 84.08 kB / 426.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.2254, allocations: 481.7 kB / 427 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.2254, allocations: 45.38 kB / 427.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.2255, allocations: 60.38 kB / 427.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2266, allocations: 0.8392 MB / 428 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2266, allocations: 192 / 428 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.2267, allocations: 31.92 kB / 428 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2267, allocations: 15.98 kB / 428 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009431/0.2277, allocations: 0.7886 MB / 428.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.2312, allocations: 3.331 MB / 432.1 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.2326, allocations: 1.364 MB / 433.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.2332, allocations: 0.5818 MB / 434.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.2334, allocations: 24.97 kB / 434.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2334, allocations: 47.56 kB / 434.1 MB, free: 4.457 MB / 302.1 MB Notification: Performance of pre-optimization done (n=89): time 2.364e-06/0.2334, allocations: 4 kB / 434.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=89): time 0.01387/0.2473, allocations: 3.954 MB / 438.1 MB, free: 480 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.2474, allocations: 111.8 kB / 438.2 MB, free: 344 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.2479, allocations: 441.7 kB / 438.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.248, allocations: 49.7 kB / 438.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.2482, allocations: 233.5 kB / 438.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.2484, allocations: 303.5 kB / 439.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.2488, allocations: 174.6 kB / 439.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2489, allocations: 374.8 kB / 439.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008089/0.2497, allocations: 0.5408 MB / 440.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/0.2506, allocations: 0.6224 MB / 440.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.2524, allocations: 1.213 MB / 442.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2524, allocations: 0 / 442.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006605/0.259, allocations: 2.374 MB / 444.5 MB, free: 9.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.259, allocations: 10.5 kB / 444.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2591, allocations: 0 / 444.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007067/0.2661, allocations: 1.78 MB / 446.3 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.2668, allocations: 147.8 kB / 446.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.2804, allocations: 7.377 MB / 453.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008162/0.2813, allocations: 87.2 kB / 453.9 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.2814, allocations: 35.98 kB / 453.9 MB, free: 428 kB / 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.0003509/0.2817, allocations: 201.7 kB / 454.1 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.2819, allocations: 75.09 kB / 454.2 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006619/0.2885, allocations: 2.32 MB / 456.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.2886, allocations: 12 kB / 456.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2886, allocations: 3.938 kB / 456.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.2886, allocations: 3.984 kB / 456.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008106/0.2967, allocations: 3.324 MB / 459.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.2968, allocations: 4 kB / 459.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.2972, allocations: 119.8 kB / 460 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006858/0.3041, allocations: 1.506 MB / 461.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.3043, allocations: 23.94 kB / 461.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01392/0.3182, allocations: 7.241 MB / 468.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3183, allocations: 0 / 468.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006538/0.3248, allocations: 2.275 MB / 471 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.3251, allocations: 160 kB / 471.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.3253, allocations: 19.94 kB / 471.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/0.3259, allocations: 55.95 kB / 471.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.3262, allocations: 76.89 kB / 471.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.328e-05/0.3263, allocations: 28 kB / 471.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003714/0.3267, allocations: 291.1 kB / 471.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3267, allocations: 0 / 471.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009827/0.3277, allocations: 339.8 kB / 472 MB, free: 14.08 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.000269/0.328, allocations: 147 kB / 472.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005001/0.333, allocations: 2.005 MB / 474.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.333, allocations: 0 / 474.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003701/0.3367, allocations: 1.297 MB / 475.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008107/0.3376, allocations: 89.88 kB / 475.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.3401, allocations: 1.654 MB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.3405, allocations: 0.9257 MB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.3407, allocations: 71.34 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3407, allocations: 0 / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of Templates: time 0.01909/0.3598, allocations: 14.09 MB / 492.2 MB, free: 9.73 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)