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.0007676/0.0007674, allocations: 93.94 kB / 16.71 MB, free: 6.145 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.0008218/0.0008219, allocations: 177.9 kB / 17.62 MB, free: 5.855 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.298/1.298, allocations: 223.3 MB / 241.7 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04056/0.04056, allocations: 8.093 MB / 300.9 MB, free: 6.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003597, allocations: 8 kB / 364.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2079, allocations: 52.52 MB / 416.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.001564/0.2095, allocations: 1.453 MB / 418.1 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2112, allocations: 1.446 MB / 419.6 MB, free: 21.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2113, allocations: 8 kB / 419.6 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.2118, allocations: 115.5 kB / 419.7 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.2121, allocations: 83.52 kB / 419.8 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2134, allocations: 0.8754 MB / 420.6 MB, free: 20.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.2137, allocations: 226.9 kB / 420.9 MB, free: 20.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.2138, allocations: 95.3 kB / 421 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.295e-05/0.2139, allocations: 87.64 kB / 421 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.2141, allocations: 127.5 kB / 421.2 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.2141, allocations: 16 kB / 421.2 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.2144, allocations: 191.8 kB / 421.4 MB, free: 20.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.2145, allocations: 43.77 kB / 421.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.2146, allocations: 129.1 kB / 421.5 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.2148, allocations: 289.2 kB / 421.8 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2148, allocations: 0 / 421.8 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2148, allocations: 4 kB / 421.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2149, allocations: 0 / 421.8 MB, free: 19.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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00188/0.2167, allocations: 0.7256 MB / 422.5 MB, free: 18.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2168, allocations: 11.97 kB / 422.6 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.2169, allocations: 24.66 kB / 422.6 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.217, allocations: 243.9 kB / 422.8 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2171, allocations: 20.94 kB / 422.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.2171, allocations: 24.38 kB / 422.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.2175, allocations: 301.4 kB / 423.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2175, allocations: 3.938 kB / 423.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.2176, allocations: 8 kB / 423.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.2176, allocations: 8 kB / 423.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.2179, allocations: 298.1 kB / 423.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.2191, allocations: 0.8891 MB / 424.4 MB, free: 16.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.2196, allocations: 295.1 kB / 424.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.2197, allocations: 132.8 kB / 424.8 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/0.2198, allocations: 7.984 kB / 424.8 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.2198, allocations: 34.5 kB / 424.8 MB, free: 16.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.2198, allocations: 0 / 424.8 MB, free: 16.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001073/0.2209, allocations: 0.5245 MB / 425.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.2209, allocations: 59.34 kB / 425.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.2211, allocations: 163.2 kB / 425.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2211, allocations: 33.7 kB / 425.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.2211, allocations: 144.3 kB / 425.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.2212, allocations: 90.73 kB / 425.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.2212, allocations: 33.7 kB / 425.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.2213, allocations: 326.8 kB / 426.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.2215, allocations: 135.8 kB / 426.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.2216, allocations: 135.8 kB / 426.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.222, allocations: 281.4 kB / 426.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.222, allocations: 3.938 kB / 426.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000591/0.2226, allocations: 405.8 kB / 427.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2226, allocations: 11.94 kB / 427.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.2226, allocations: 4 kB / 427.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002873/0.2229, allocations: 52.81 kB / 427.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.2232, allocations: 59.91 kB / 427.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.2242, allocations: 1.436 MB / 428.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2244, allocations: 23.72 kB / 428.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.2245, allocations: 8 kB / 428.7 MB, free: 12.38 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.0001135/0.2246, allocations: 148.2 kB / 428.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.2246, allocations: 15.89 kB / 428.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.2252, allocations: 356.4 kB / 429.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2252, allocations: 0 / 429.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2253, allocations: 0 / 429.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2253, allocations: 7.984 kB / 429.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.2256, allocations: 357.3 kB / 429.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2256, allocations: 4 kB / 429.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.2258, allocations: 43.92 kB / 429.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.226, allocations: 48.81 kB / 429.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.226, allocations: 11.94 kB / 429.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009409/0.2269, allocations: 1.428 MB / 431.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.227, allocations: 4.031 kB / 431.1 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.2275, allocations: 404.7 kB / 431.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.2275, allocations: 92.86 kB / 431.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.2276, allocations: 4 kB / 431.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.2277, allocations: 8 kB / 431.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.2278, allocations: 19.91 kB / 431.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.2278, allocations: 8 kB / 431.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.751e-05/0.2279, allocations: 134.7 kB / 431.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2279, allocations: 0 / 431.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.2282, allocations: 87.75 kB / 431.9 MB, free: 8.996 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.0001796/0.2284, allocations: 123.2 kB / 432 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006786/0.2291, allocations: 426.4 kB / 432.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2291, allocations: 0 / 432.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.2295, allocations: 250.5 kB / 432.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.2298, allocations: 19.94 kB / 432.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/0.2305, allocations: 0.5914 MB / 433.2 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.2307, allocations: 0.7398 MB / 434 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.2308, allocations: 31.36 kB / 434 MB, free: 6.738 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2308, allocations: 0 / 434 MB, free: 6.738 MB / 302.1 MB Notification: Performance of Templates: time 0.004813/0.2356, allocations: 4.06 MB / 438.1 MB, free: 2.68 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)