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.001083/0.001083, allocations: 112.2 kB / 17.09 MB, free: 5.773 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.001015/0.001016, allocations: 195 kB / 18.03 MB, free: 4.953 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.365/1.365, allocations: 222.9 MB / 241.7 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.05042/0.05042, allocations: 8.093 MB / 300 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.89 kB / 363.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2325, allocations: 51.52 MB / 414.7 MB, free: 25.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002827/0.2354, allocations: 1.731 MB / 416.4 MB, free: 23.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2367, allocations: 1.337 MB / 417.8 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.2368, allocations: 4 kB / 417.8 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.237, allocations: 107.4 kB / 417.9 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.2373, allocations: 95.31 kB / 418 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.238, allocations: 450.2 kB / 418.4 MB, free: 21.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.2382, allocations: 222.9 kB / 418.6 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2384, allocations: 118.3 kB / 418.7 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.2385, allocations: 95.58 kB / 418.8 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2387, allocations: 151.5 kB / 419 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.2387, allocations: 20 kB / 419 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.2389, allocations: 127.9 kB / 419.1 MB, free: 21.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.239, allocations: 55.77 kB / 419.2 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.917e-05/0.2391, allocations: 115.4 kB / 419.3 MB, free: 21.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.2394, allocations: 332.8 kB / 419.6 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2395, allocations: 0 / 419.6 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2395, allocations: 3.938 kB / 419.6 MB, free: 20.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2395, allocations: 4 kB / 419.6 MB, free: 20.68 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.001457/0.2409, allocations: 0.6553 MB / 420.3 MB, free: 19.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.241, allocations: 15.89 kB / 420.3 MB, free: 19.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.241, allocations: 24.66 kB / 420.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.2412, allocations: 215.9 kB / 420.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2412, allocations: 16.94 kB / 420.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.2413, allocations: 16.38 kB / 420.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.2416, allocations: 296.1 kB / 420.9 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2417, allocations: 192 / 420.9 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.2417, allocations: 11.94 kB / 420.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2417, allocations: 8 kB / 420.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.242, allocations: 250.9 kB / 421.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.2431, allocations: 0.9605 MB / 422.1 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.2438, allocations: 370.6 kB / 422.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2439, allocations: 85.92 kB / 422.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.96e-05/0.244, allocations: 15.92 kB / 422.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.244, allocations: 34.56 kB / 422.6 MB, free: 17.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.244, allocations: 0 / 422.6 MB, free: 17.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009934/0.245, allocations: 0.5128 MB / 423.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.2451, allocations: 89.09 kB / 423.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.2453, allocations: 194.6 kB / 423.4 MB, free: 16.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2453, allocations: 29.7 kB / 423.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.2453, allocations: 156 kB / 423.5 MB, free: 16.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.2454, allocations: 74.92 kB / 423.6 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.2455, allocations: 53.59 kB / 423.7 MB, free: 16.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.2455, allocations: 326.8 kB / 424 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.2457, allocations: 95.84 kB / 424.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.2458, allocations: 123.4 kB / 424.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.246, allocations: 218.7 kB / 424.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.246, allocations: 4 kB / 424.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005048/0.2465, allocations: 335.2 kB / 424.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2466, allocations: 4 kB / 424.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2466, allocations: 4.062 kB / 424.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/0.2469, allocations: 77.59 kB / 424.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2471, allocations: 51.84 kB / 424.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.2487, allocations: 2.875 MB / 427.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.2488, allocations: 27.8 kB / 427.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.2489, allocations: 7.984 kB / 427.8 MB, free: 11.86 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.0001/0.249, allocations: 141.7 kB / 427.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.249, allocations: 19.81 kB / 427.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.2495, allocations: 292.6 kB / 428.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2496, allocations: 4 kB / 428.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2496, allocations: 0 / 428.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2496, allocations: 3.984 kB / 428.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.2502, allocations: 0.5536 MB / 428.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.2502, allocations: 8 kB / 428.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-05/0.2503, allocations: 27.92 kB / 428.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002599/0.2506, allocations: 69.66 kB / 428.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2506, allocations: 8 kB / 428.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.252, allocations: 2.879 MB / 431.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.252, allocations: 0 / 431.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.2525, allocations: 424.2 kB / 432.2 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.2525, allocations: 100.9 kB / 432.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.2526, allocations: 8 kB / 432.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.2528, allocations: 19.92 kB / 432.3 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.2528, allocations: 19.97 kB / 432.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2528, allocations: 4 kB / 432.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.253, allocations: 147.7 kB / 432.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.253, allocations: 4 kB / 432.5 MB, free: 6.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000392/0.2534, allocations: 75.75 kB / 432.6 MB, free: 6.672 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.0001707/0.2536, allocations: 119.2 kB / 432.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.2542, allocations: 454.4 kB / 433.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2542, allocations: 0 / 433.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.2546, allocations: 337.2 kB / 433.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.2551, allocations: 24.11 kB / 433.5 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.2557, allocations: 424.2 kB / 433.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.2559, allocations: 0.7402 MB / 434.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.256, allocations: 29.5 kB / 434.7 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.2561, allocations: 19.44 kB / 434.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2561, allocations: 0 / 434.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of Templates: time 0.005668/0.2617, allocations: 3.071 MB / 437.8 MB, free: 1.391 MB / 302.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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)