Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 112.8 kB / 16.57 MB, free: 6.723 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.001911/0.001911, allocations: 195.7 kB / 17.49 MB, free: 6.004 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.372/1.372, allocations: 222.9 MB / 241.2 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04552/0.04552, allocations: 8.098 MB / 299.4 MB, free: 6.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 361.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.189, allocations: 51.5 MB / 413.2 MB, free: 25.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.002631/0.1917, allocations: 2.477 MB / 415.7 MB, free: 23.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1935, allocations: 1.715 MB / 417.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1937, allocations: 4 kB / 417.4 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.194, allocations: 147.4 kB / 417.5 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.1944, allocations: 179 kB / 417.7 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1957, allocations: 0.9995 MB / 418.7 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.1961, allocations: 449.9 kB / 419.1 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.1963, allocations: 144.4 kB / 419.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1964, allocations: 175.3 kB / 419.5 MB, free: 19.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1967, allocations: 239 kB / 419.7 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.1967, allocations: 32 kB / 419.7 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.197, allocations: 239.8 kB / 420 MB, free: 19.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.1971, allocations: 83.61 kB / 420 MB, free: 18.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1973, allocations: 210.9 kB / 420.2 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.1976, allocations: 488.9 kB / 420.7 MB, free: 18.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1976, allocations: 4 kB / 420.7 MB, free: 18.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1976, allocations: 0 / 420.7 MB, free: 18.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1977, allocations: 0 / 420.7 MB, free: 18.26 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003357/0.201, allocations: 1.19 MB / 421.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2011, allocations: 11.97 kB / 421.9 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.2013, allocations: 64.36 kB / 422 MB, free: 16.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.2017, allocations: 355.5 kB / 422.3 MB, free: 16.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.2017, allocations: 25.03 kB / 422.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.2018, allocations: 36.38 kB / 422.4 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.2024, allocations: 454.5 kB / 422.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2025, allocations: 192 / 422.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.2025, allocations: 19.88 kB / 422.9 MB, free: 16.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2025, allocations: 8 kB / 422.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.2031, allocations: 454.5 kB / 423.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.2049, allocations: 1.991 MB / 425.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.2059, allocations: 0.6806 MB / 426 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.2062, allocations: 309.1 kB / 426.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.2063, allocations: 15.98 kB / 426.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005582/0.2068, allocations: 468.5 kB / 426.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.094e-06/0.2069, allocations: 0 / 426.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.005332/0.2122, allocations: 1.802 MB / 428.6 MB, free: 10 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.2123, allocations: 204.3 kB / 428.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.2126, allocations: 302.9 kB / 429.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.2127, allocations: 41.7 kB / 429.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.2128, allocations: 172.8 kB / 429.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.997e-05/0.2129, allocations: 157.7 kB / 429.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.213, allocations: 110.2 kB / 429.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.2131, allocations: 346.8 kB / 429.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.2135, allocations: 273.1 kB / 430.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.2138, allocations: 343.8 kB / 430.5 MB, free: 8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006816/0.2207, allocations: 2.082 MB / 432.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2207, allocations: 0 / 432.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002399/0.2231, allocations: 1.18 MB / 433.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.2232, allocations: 40.19 kB / 433.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2232, allocations: 11.88 kB / 433.8 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/0.2253, allocations: 0.5158 MB / 434.3 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.2256, allocations: 79.91 kB / 434.4 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.2301, allocations: 3.631 MB / 438 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.2305, allocations: 47.52 kB / 438.1 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.2305, allocations: 24 kB / 438.1 MB, free: 208 kB / 302.1 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.line2.myFault.fault,line2.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im,line2.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.2308, allocations: 225 kB / 438.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/0.2309, allocations: 43.53 kB / 438.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/0.2342, allocations: 1.129 MB / 439.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.2343, allocations: 8 kB / 439.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2343, allocations: 0 / 439.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.2343, allocations: 3.984 kB / 439.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.2378, allocations: 1.834 MB / 441.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2378, allocations: 3.938 kB / 441.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.238, allocations: 55.86 kB / 441.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/0.2403, allocations: 0.5029 MB / 441.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/0.2404, allocations: 16 kB / 441.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005378/0.2458, allocations: 3.593 MB / 445.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2458, allocations: 0 / 445.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.2486, allocations: 1.187 MB / 446.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.2488, allocations: 120.5 kB / 446.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.2489, allocations: 16 kB / 446.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.2492, allocations: 23.98 kB / 446.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.2493, allocations: 32.39 kB / 446.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.2494, allocations: 23.98 kB / 446.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.2497, allocations: 222 kB / 447.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2497, allocations: 0 / 447.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007191/0.2504, allocations: 187.8 kB / 447.3 MB, free: 6.715 MB / 318.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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002297/0.2506, allocations: 131 kB / 447.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.2527, allocations: 0.981 MB / 448.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.2527, allocations: 4.062 kB / 448.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.2539, allocations: 0.6801 MB / 449.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.2544, allocations: 40.83 kB / 449.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.2558, allocations: 0.9799 MB / 450.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.2562, allocations: 0.8058 MB / 450.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.2564, allocations: 39.42 kB / 450.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of SimCode: time 5.62e-07/0.2564, allocations: 0 / 450.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of Templates: time 0.01312/0.2695, allocations: 7.694 MB / 458.6 MB, free: 11.24 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1)