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.001129/0.001129, allocations: 112.5 kB / 17.09 MB, free: 6.004 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.001046/0.001046, allocations: 195 kB / 18.02 MB, free: 5.086 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05006/0.05006, allocations: 8.096 MB / 300 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 363.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002962/0.2115, allocations: 1.758 MB / 416.5 MB, free: 23.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2129, allocations: 1.485 MB / 417.9 MB, free: 22.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.213, allocations: 8 kB / 417.9 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.2133, allocations: 131.3 kB / 418.1 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.2135, allocations: 99.28 kB / 418.2 MB, free: 21.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2148, allocations: 0.9216 MB / 419.1 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.2151, allocations: 238.9 kB / 419.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.2153, allocations: 123.7 kB / 419.4 MB, free: 20.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.214e-05/0.2154, allocations: 99.58 kB / 419.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.2156, allocations: 139.5 kB / 419.7 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2156, allocations: 27.94 kB / 419.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.2159, allocations: 211.8 kB / 419.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.216, allocations: 47.83 kB / 420 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.285e-05/0.2161, allocations: 123.4 kB / 420.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.2165, allocations: 408.5 kB / 420.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2165, allocations: 4 kB / 420.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2165, allocations: 4 kB / 420.5 MB, free: 19.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2165, allocations: 0 / 420.5 MB, free: 19.63 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.001869/0.2184, allocations: 0.7684 MB / 421.3 MB, free: 18.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2184, allocations: 15.89 kB / 421.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.2185, allocations: 24.66 kB / 421.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.2187, allocations: 236 kB / 421.5 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.2187, allocations: 16.94 kB / 421.5 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.2188, allocations: 28.38 kB / 421.6 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.2192, allocations: 301.4 kB / 421.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.2192, allocations: 7.875 kB / 421.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.2192, allocations: 12 kB / 421.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.2192, allocations: 11.94 kB / 421.9 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.2196, allocations: 286.1 kB / 422.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.2208, allocations: 0.8775 MB / 423.1 MB, free: 16.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.2212, allocations: 286.5 kB / 423.3 MB, free: 16.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.2214, allocations: 136.8 kB / 423.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.2214, allocations: 11.92 kB / 423.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.2214, allocations: 34.56 kB / 423.5 MB, free: 16.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.343e-06/0.2214, allocations: 4 kB / 423.5 MB, free: 16.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001022/0.2225, allocations: 0.5206 MB / 424 MB, free: 15.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.2225, allocations: 55.41 kB / 424.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2226, allocations: 171.3 kB / 424.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2226, allocations: 33.7 kB / 424.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.2227, allocations: 140.4 kB / 424.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.2228, allocations: 86.75 kB / 424.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.2229, allocations: 69.45 kB / 424.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.2229, allocations: 326.8 kB / 424.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.2231, allocations: 132 kB / 425 MB, free: 14.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.2232, allocations: 132 kB / 425.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.2236, allocations: 285.3 kB / 425.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.2236, allocations: 3.938 kB / 425.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005746/0.2242, allocations: 405.9 kB / 425.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2242, allocations: 4 kB / 425.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2242, allocations: 0 / 425.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.2245, allocations: 60.81 kB / 425.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.2247, allocations: 55.91 kB / 426 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.2258, allocations: 1.531 MB / 427.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.2259, allocations: 27.72 kB / 427.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.226, allocations: 7.984 kB / 427.5 MB, free: 12.2 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.0001014/0.2261, allocations: 144.2 kB / 427.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.2261, allocations: 23.75 kB / 427.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.2267, allocations: 360.4 kB / 428 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.2267, allocations: 0 / 428 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2267, allocations: 4 kB / 428 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2267, allocations: 0 / 428 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.227, allocations: 361.2 kB / 428.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.227, allocations: 4 kB / 428.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.2271, allocations: 43.92 kB / 428.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.2273, allocations: 52.81 kB / 428.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2274, allocations: 4 kB / 428.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009098/0.2283, allocations: 1.531 MB / 430 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2283, allocations: 3.938 kB / 430 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.2288, allocations: 400.6 kB / 430.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.2288, allocations: 100.8 kB / 430.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.2288, allocations: 7.938 kB / 430.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.229, allocations: 4 kB / 430.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.229, allocations: 16.05 kB / 430.5 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.229, allocations: 19.92 kB / 430.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.2291, allocations: 126.9 kB / 430.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2291, allocations: 0 / 430.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000345/0.2295, allocations: 83.84 kB / 430.8 MB, free: 8.707 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.0001568/0.2296, allocations: 127.1 kB / 430.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006652/0.2303, allocations: 430.4 kB / 431.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2303, allocations: 0 / 431.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.2307, allocations: 250.6 kB / 431.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.2309, allocations: 18.28 kB / 431.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.2316, allocations: 452 kB / 432 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.2318, allocations: 0.7398 MB / 432.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.2319, allocations: 29.53 kB / 432.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.232, allocations: 27.42 kB / 432.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.232, allocations: 0 / 432.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of Templates: time 0.004829/0.2368, allocations: 2.717 MB / 435.5 MB, free: 3.867 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)