Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001369, allocations: 104.5 kB / 16.98 MB, free: 6.137 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.001472/0.001472, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.397/1.397, allocations: 222.9 MB / 241.6 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05079/0.05079, allocations: 8.103 MB / 299.9 MB, free: 6.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.91 kB / 362.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2337, allocations: 51.51 MB / 413.9 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002493/0.2362, allocations: 1.721 MB / 415.6 MB, free: 23.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2375, allocations: 1.341 MB / 417 MB, free: 22.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.2376, allocations: 4 kB / 417 MB, free: 22.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.2379, allocations: 99.36 kB / 417.1 MB, free: 22.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.2381, allocations: 95.31 kB / 417.2 MB, free: 22.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.2388, allocations: 453.7 kB / 417.6 MB, free: 21.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.239, allocations: 223 kB / 417.8 MB, free: 21.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.2391, allocations: 114.3 kB / 417.9 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.2392, allocations: 103.6 kB / 418 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.2394, allocations: 151.4 kB / 418.2 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.2395, allocations: 20 kB / 418.2 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.2397, allocations: 123.9 kB / 418.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.2397, allocations: 51.77 kB / 418.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.2398, allocations: 123.3 kB / 418.5 MB, free: 20.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.2401, allocations: 325 kB / 418.8 MB, free: 20.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2401, allocations: 0 / 418.8 MB, free: 20.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2401, allocations: 0 / 418.8 MB, free: 20.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2401, allocations: 0 / 418.8 MB, free: 20.65 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00152/0.2417, allocations: 0.6698 MB / 419.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2417, allocations: 15.89 kB / 419.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.2418, allocations: 24.66 kB / 419.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.2419, allocations: 204 kB / 419.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.242, allocations: 20.94 kB / 419.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.242, allocations: 20.38 kB / 419.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.2424, allocations: 296 kB / 420.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2424, allocations: 192 / 420.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.2424, allocations: 11.94 kB / 420.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2424, allocations: 8 kB / 420.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.2427, allocations: 238.9 kB / 420.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.2438, allocations: 0.9761 MB / 421.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/0.2445, allocations: 366.3 kB / 421.6 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.2446, allocations: 93.64 kB / 421.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.2447, allocations: 11.97 kB / 421.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2447, allocations: 42.69 kB / 421.8 MB, free: 17.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.2447, allocations: 0 / 421.8 MB, free: 17.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001/0.2457, allocations: 0.5169 MB / 422.3 MB, free: 16.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.2458, allocations: 85.03 kB / 422.4 MB, free: 16.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.2459, allocations: 198.6 kB / 422.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.246, allocations: 29.7 kB / 422.6 MB, free: 16.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.246, allocations: 148 kB / 422.8 MB, free: 16.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.2461, allocations: 74.94 kB / 422.8 MB, free: 16.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.2461, allocations: 57.59 kB / 422.9 MB, free: 16.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.2462, allocations: 330.8 kB / 423.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2463, allocations: 83.97 kB / 423.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2464, allocations: 123.4 kB / 423.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.2467, allocations: 218.8 kB / 423.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2467, allocations: 0 / 423.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005128/0.2472, allocations: 338.9 kB / 424 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2472, allocations: 4 kB / 424 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2472, allocations: 4 kB / 424 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.2476, allocations: 77.72 kB / 424 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2478, allocations: 43.91 kB / 424.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.2494, allocations: 2.883 MB / 427 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.2495, allocations: 23.75 kB / 427 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.2496, allocations: 15.98 kB / 427 MB, free: 11.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * 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%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.2497, allocations: 129.8 kB / 427.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.2497, allocations: 19.81 kB / 427.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.2503, allocations: 296.5 kB / 427.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2503, allocations: 4.469 kB / 427.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2503, allocations: 0 / 427.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2503, allocations: 3.984 kB / 427.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.2509, allocations: 0.5613 MB / 428 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2509, allocations: 7.938 kB / 428 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.789e-05/0.251, allocations: 27.98 kB / 428 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.2513, allocations: 69.66 kB / 428.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2513, allocations: 8 kB / 428.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.2528, allocations: 2.879 MB / 431 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2528, allocations: 0 / 431 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.2532, allocations: 430.3 kB / 431.4 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.2533, allocations: 100.9 kB / 431.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.2533, allocations: 0 / 431.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.2535, allocations: 19.92 kB / 431.5 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.2536, allocations: 19.97 kB / 431.6 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.2536, allocations: 4 kB / 431.6 MB, free: 6.859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.2537, allocations: 159.7 kB / 431.7 MB, free: 6.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2538, allocations: 0 / 431.7 MB, free: 6.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.2542, allocations: 75.75 kB / 431.8 MB, free: 6.629 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * 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%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001591/0.2543, allocations: 115.2 kB / 431.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006364/0.255, allocations: 465.2 kB / 432.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.255, allocations: 0 / 432.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.2553, allocations: 329.4 kB / 432.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.2558, allocations: 27.98 kB / 432.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006312/0.2564, allocations: 450 kB / 433.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.2566, allocations: 0.7404 MB / 433.9 MB, free: 4.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.2567, allocations: 23.44 kB / 433.9 MB, free: 4.387 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2567, allocations: 0 / 433.9 MB, free: 4.387 MB / 302.1 MB Notification: Performance of Templates: time 0.005595/0.2623, allocations: 4.954 MB / 438.9 MB, free: 15.44 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)