Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 103.9 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.001265/0.001265, allocations: 191.5 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.359/1.359, allocations: 222.9 MB / 241.6 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05084/0.05084, allocations: 8.089 MB / 299.9 MB, free: 6.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.91 kB / 362.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.215, allocations: 51.51 MB / 413.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002681/0.2177, allocations: 1.764 MB / 415.7 MB, free: 23.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2193, allocations: 1.485 MB / 417.2 MB, free: 22.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.2194, allocations: 4 kB / 417.2 MB, free: 22.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.2197, allocations: 127.3 kB / 417.3 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.22, allocations: 95.3 kB / 417.4 MB, free: 22.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.2212, allocations: 0.9208 MB / 418.3 MB, free: 21.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.2215, allocations: 234.9 kB / 418.5 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.2217, allocations: 123.7 kB / 418.7 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.2218, allocations: 103.6 kB / 418.8 MB, free: 20.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.222, allocations: 139.5 kB / 418.9 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.222, allocations: 20 kB / 418.9 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.2223, allocations: 215.8 kB / 419.1 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.2224, allocations: 55.77 kB / 419.2 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.932e-05/0.2225, allocations: 115.4 kB / 419.3 MB, free: 20.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.2229, allocations: 404.8 kB / 419.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2229, allocations: 3.984 kB / 419.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2229, allocations: 4 kB / 419.7 MB, free: 19.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2229, allocations: 0 / 419.7 MB, free: 19.78 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001935/0.2248, allocations: 0.7689 MB / 420.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2249, allocations: 15.89 kB / 420.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.2249, allocations: 28.66 kB / 420.5 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.2251, allocations: 239.9 kB / 420.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2252, allocations: 20.94 kB / 420.8 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.2252, allocations: 28.38 kB / 420.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.2256, allocations: 293.4 kB / 421.1 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2256, allocations: 3.938 kB / 421.1 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.2257, allocations: 12 kB / 421.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.2257, allocations: 4 kB / 421.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.226, allocations: 298.1 kB / 421.4 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.2272, allocations: 0.893 MB / 422.3 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.2276, allocations: 280.1 kB / 422.5 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.2278, allocations: 132.8 kB / 422.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-05/0.2279, allocations: 11.98 kB / 422.7 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2279, allocations: 38.56 kB / 422.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.2279, allocations: 0 / 422.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001103/0.229, allocations: 0.5205 MB / 423.2 MB, free: 16.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.229, allocations: 55.41 kB / 423.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2292, allocations: 171.3 kB / 423.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2292, allocations: 29.7 kB / 423.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.2292, allocations: 148.3 kB / 423.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.2293, allocations: 82.75 kB / 423.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.2294, allocations: 73.45 kB / 423.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.2294, allocations: 326.8 kB / 424.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2296, allocations: 128 kB / 424.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.2298, allocations: 128 kB / 424.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.2301, allocations: 297.2 kB / 424.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2301, allocations: 3.938 kB / 424.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005697/0.2307, allocations: 402 kB / 425.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2307, allocations: 4 kB / 425.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2307, allocations: 0 / 425.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.231, allocations: 64.75 kB / 425.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.2313, allocations: 59.91 kB / 425.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.2324, allocations: 1.531 MB / 426.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.2326, allocations: 27.84 kB / 426.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.2326, allocations: 11.98 kB / 426.7 MB, free: 12.33 MB / 302.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 (35): * Single equations (assignments): 34 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.2327, allocations: 137.8 kB / 426.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.2328, allocations: 19.75 kB / 426.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.2333, allocations: 364.5 kB / 427.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2333, allocations: 4 kB / 427.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.2333, allocations: 0 / 427.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2334, allocations: 0 / 427.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.2336, allocations: 361.2 kB / 427.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2336, allocations: 0 / 427.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.2338, allocations: 39.98 kB / 427.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.234, allocations: 56.75 kB / 427.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.234, allocations: 8 kB / 427.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00094/0.235, allocations: 1.527 MB / 429.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.235, allocations: 3.938 kB / 429.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.2355, allocations: 400.7 kB / 429.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.2355, allocations: 100.8 kB / 429.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.2355, allocations: 7.938 kB / 429.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.2357, allocations: 8 kB / 429.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.2357, allocations: 7.984 kB / 429.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2357, allocations: 12 kB / 429.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.2358, allocations: 130.9 kB / 429.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2358, allocations: 0 / 429.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.2362, allocations: 95.84 kB / 430 MB, free: 8.836 MB / 302.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): 24 * 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): 1 system {(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.0001723/0.2364, allocations: 111.2 kB / 430.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000744/0.2371, allocations: 438.3 kB / 430.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2372, allocations: 7.938 kB / 430.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.2375, allocations: 250.6 kB / 430.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2378, allocations: 11.94 kB / 430.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.2386, allocations: 496.7 kB / 431.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.2388, allocations: 0.7398 MB / 432 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.2389, allocations: 31.42 kB / 432 MB, free: 6.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2389, allocations: 0 / 432 MB, free: 6.688 MB / 302.1 MB Notification: Performance of Templates: time 0.005563/0.2444, allocations: 4.093 MB / 436.1 MB, free: 2.598 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)