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.00113/0.001131, allocations: 102.4 kB / 16.57 MB, free: 6.262 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.001343/0.001343, allocations: 193.6 kB / 17.49 MB, free: 5.875 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.309/1.309, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04664/0.04664, allocations: 8.092 MB / 299.4 MB, free: 6.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 60.09 kB / 361.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2232, allocations: 51.52 MB / 413.2 MB, free: 25.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002676/0.226, allocations: 1.776 MB / 415 MB, free: 24.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.2276, allocations: 1.337 MB / 416.3 MB, free: 22.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.2277, allocations: 4 kB / 416.3 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.2281, allocations: 83.67 kB / 416.4 MB, free: 22.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.2284, allocations: 87.5 kB / 416.5 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.2292, allocations: 429.7 kB / 416.9 MB, free: 22.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.2293, allocations: 214.9 kB / 417.1 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2295, allocations: 94.88 kB / 417.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.001e-05/0.2296, allocations: 95.64 kB / 417.3 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.2298, allocations: 143.4 kB / 417.4 MB, free: 21.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.2299, allocations: 16 kB / 417.5 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.2301, allocations: 119.9 kB / 417.6 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.2301, allocations: 43.83 kB / 417.6 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.2302, allocations: 111.4 kB / 417.7 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.2305, allocations: 253.5 kB / 418 MB, free: 21.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2305, allocations: 0 / 418 MB, free: 21.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2305, allocations: 0 / 418 MB, free: 21.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2305, allocations: 0 / 418 MB, free: 21.18 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.001593/0.2321, allocations: 0.6619 MB / 418.6 MB, free: 20.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2322, allocations: 11.97 kB / 418.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.2323, allocations: 24.66 kB / 418.7 MB, free: 20.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2324, allocations: 215.9 kB / 418.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2325, allocations: 20.88 kB / 418.9 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.2325, allocations: 24.38 kB / 418.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.2329, allocations: 292 kB / 419.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2329, allocations: 192 / 419.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.2329, allocations: 19.88 kB / 419.2 MB, free: 19.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2329, allocations: 4 kB / 419.2 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.2332, allocations: 241.3 kB / 419.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.2344, allocations: 0.9683 MB / 420.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.2351, allocations: 370.4 kB / 420.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2352, allocations: 89.7 kB / 420.9 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/0.2353, allocations: 7.984 kB / 420.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2353, allocations: 46.69 kB / 420.9 MB, free: 18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.2353, allocations: 0 / 420.9 MB, free: 18 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001021/0.2363, allocations: 0.5169 MB / 421.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.2364, allocations: 85.05 kB / 421.5 MB, free: 17.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.2366, allocations: 190.6 kB / 421.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2366, allocations: 29.7 kB / 421.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.2366, allocations: 156 kB / 421.9 MB, free: 16.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.2367, allocations: 74.94 kB / 422 MB, free: 16.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.2368, allocations: 53.59 kB / 422 MB, free: 16.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.657e-05/0.2368, allocations: 326.8 kB / 422.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2369, allocations: 87.97 kB / 422.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.2371, allocations: 123.4 kB / 422.6 MB, free: 16.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.2373, allocations: 207.3 kB / 422.8 MB, free: 16.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2373, allocations: 4 kB / 422.8 MB, free: 16.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005348/0.2379, allocations: 343.2 kB / 423.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2379, allocations: 4 kB / 423.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2379, allocations: 0 / 423.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.2383, allocations: 77.72 kB / 423.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.2385, allocations: 47.91 kB / 423.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.24, allocations: 2.674 MB / 425.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.2402, allocations: 19.75 kB / 425.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.2402, allocations: 15.92 kB / 425.9 MB, free: 12.58 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.0001058/0.2403, allocations: 137.9 kB / 426.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.2404, allocations: 23.75 kB / 426.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.2409, allocations: 304.8 kB / 426.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.241, allocations: 0 / 426.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.241, allocations: 4 kB / 426.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.241, allocations: 0 / 426.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006109/0.2416, allocations: 0.5576 MB / 427 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2416, allocations: 0 / 427 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.2417, allocations: 31.92 kB / 427 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.242, allocations: 77.59 kB / 427.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.242, allocations: 4 kB / 427.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.2434, allocations: 2.67 MB / 429.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2434, allocations: 0 / 429.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.2439, allocations: 432.1 kB / 430.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.2439, allocations: 101 kB / 430.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.244, allocations: 7.984 kB / 430.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2442, allocations: 19.92 kB / 430.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.2443, allocations: 11.98 kB / 430.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.2443, allocations: 8 kB / 430.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.2444, allocations: 156.7 kB / 430.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2444, allocations: 0 / 430.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004074/0.2448, allocations: 71.84 kB / 430.5 MB, free: 7.602 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.0001399/0.245, allocations: 119.2 kB / 430.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006398/0.2456, allocations: 458.7 kB / 431.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2456, allocations: 4 kB / 431.1 MB, free: 7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.246, allocations: 325.3 kB / 431.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.2465, allocations: 39.09 kB / 431.4 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.2472, allocations: 0.5252 MB / 432 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.2474, allocations: 0.7401 MB / 432.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.2474, allocations: 27.44 kB / 432.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2474, allocations: 0 / 432.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of Templates: time 0.006534/0.254, allocations: 4.932 MB / 437.7 MB, free: 344 kB / 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)