Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009127/0.0009126, allocations: 98.38 kB / 16.72 MB, free: 6.633 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.001033/0.001033, allocations: 181.2 kB / 17.62 MB, free: 6.16 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.317/1.317, allocations: 223.3 MB / 241.7 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04144/0.04144, allocations: 8.102 MB / 300.9 MB, free: 6.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003535, allocations: 11.98 kB / 364.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 52.51 MB / 416.7 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.001394/0.2159, allocations: 1.455 MB / 418.1 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2176, allocations: 1.547 MB / 419.7 MB, free: 21.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.2177, allocations: 4 kB / 419.7 MB, free: 21.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.2181, allocations: 115.5 kB / 419.8 MB, free: 21.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.2184, allocations: 139.3 kB / 419.9 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.2198, allocations: 1.015 MB / 420.9 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.2202, allocations: 270.6 kB / 421.2 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.2203, allocations: 64.72 kB / 421.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.2204, allocations: 107.5 kB / 421.4 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.2206, allocations: 123.5 kB / 421.5 MB, free: 20 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.2206, allocations: 12 kB / 421.5 MB, free: 19.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.221, allocations: 235.7 kB / 421.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.2211, allocations: 39.83 kB / 421.8 MB, free: 19.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.2212, allocations: 153 kB / 421.9 MB, free: 19.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.2216, allocations: 325.1 kB / 422.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2217, allocations: 4 kB / 422.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.2217, allocations: 4 kB / 422.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.2217, allocations: 3.938 kB / 422.2 MB, free: 19.24 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003798/0.2255, allocations: 1.053 MB / 423.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2255, allocations: 19.97 kB / 423.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2257, allocations: 32.56 kB / 423.3 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.2259, allocations: 267.9 kB / 423.6 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2259, allocations: 12.75 kB / 423.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.226, allocations: 24.38 kB / 423.6 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.2265, allocations: 351.7 kB / 424 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2265, allocations: 8.125 kB / 424 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.2265, allocations: 11.94 kB / 424 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2266, allocations: 12 kB / 424 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.2269, allocations: 291.3 kB / 424.3 MB, free: 17.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.2285, allocations: 1.358 MB / 425.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000759/0.2293, allocations: 382.7 kB / 426 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.2295, allocations: 176.8 kB / 426.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/0.2302, allocations: 0.6932 MB / 426.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2303, allocations: 34.8 kB / 426.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.893e-06/0.2303, allocations: 0 / 426.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.003483/0.2338, allocations: 1.132 MB / 428.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2338, allocations: 102.8 kB / 428.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.234, allocations: 232.9 kB / 428.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.2341, allocations: 33.7 kB / 428.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.2341, allocations: 144.5 kB / 428.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.2342, allocations: 94.64 kB / 428.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.2343, allocations: 45.7 kB / 428.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.2343, allocations: 334.8 kB / 429 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.2346, allocations: 192.8 kB / 429.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.2349, allocations: 271.1 kB / 429.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.2354, allocations: 468.7 kB / 429.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2354, allocations: 7.938 kB / 429.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00202/0.2375, allocations: 0.8183 MB / 430.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2375, allocations: 4 kB / 430.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2375, allocations: 4 kB / 430.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.2396, allocations: 417.3 kB / 431.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.2399, allocations: 67.91 kB / 431.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/0.2439, allocations: 3.728 MB / 435 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.2443, allocations: 35.62 kB / 435 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.2444, allocations: 19.98 kB / 435 MB, free: 5.672 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * 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 {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.2446, allocations: 153.8 kB / 435.2 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.2446, allocations: 19.72 kB / 435.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.2466, allocations: 0.7438 MB / 435.9 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2466, allocations: 8 kB / 436 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2466, allocations: 3.938 kB / 436 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2466, allocations: 3.938 kB / 436 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.247, allocations: 413.2 kB / 436.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.247, allocations: 0 / 436.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.2472, allocations: 43.92 kB / 436.4 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/0.249, allocations: 413.3 kB / 436.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.2491, allocations: 8 kB / 436.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003779/0.2529, allocations: 3.721 MB / 440.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2529, allocations: 0 / 440.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.255, allocations: 0.7708 MB / 441.3 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.401e-05/0.2551, allocations: 112.6 kB / 441.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.2552, allocations: 12 kB / 441.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.2555, allocations: 15.98 kB / 441.4 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.2556, allocations: 28.05 kB / 441.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.2556, allocations: 8 kB / 441.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.2558, allocations: 160.5 kB / 441.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2558, allocations: 0 / 441.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005308/0.2563, allocations: 119.9 kB / 441.8 MB, free: 14.57 MB / 318.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 (25): * Single equations (assignments): 23 * 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 {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002055/0.2565, allocations: 127.2 kB / 441.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.2583, allocations: 0.7637 MB / 442.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2583, allocations: 0 / 442.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.2595, allocations: 0.5131 MB / 443.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2598, allocations: 24.38 kB / 443.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.2609, allocations: 0.6759 MB / 443.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.2612, allocations: 0.7571 MB / 444.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.2613, allocations: 31.42 kB / 444.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2613, allocations: 0 / 444.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of Templates: time 0.009496/0.2708, allocations: 6.35 MB / 451 MB, free: 5.227 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)