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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.0009619/0.0009618, allocations: 103 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 181.7 kB / 16.97 MB, free: 6.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.538/1.538, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2043/0.2043, allocations: 8.079 MB / 300.2 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 8 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 52.51 MB / 416 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.002378/0.1362, allocations: 2.088 MB / 418.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1387, allocations: 1.699 MB / 419.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1388, allocations: 7.938 kB / 419.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.1392, allocations: 135.4 kB / 419.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.1397, allocations: 186.9 kB / 420.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.1416, allocations: 0.9655 MB / 421.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006201/0.1422, allocations: 457.8 kB / 421.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.1425, allocations: 144.4 kB / 421.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1427, allocations: 159.3 kB / 421.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.143, allocations: 227 kB / 422 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.1431, allocations: 23.94 kB / 422.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.1436, allocations: 227.8 kB / 422.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.1437, allocations: 79.59 kB / 422.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.1439, allocations: 224.6 kB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006792/0.1446, allocations: 0.6232 MB / 423.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1446, allocations: 0 / 423.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.1447, allocations: 0 / 423.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1447, allocations: 0 / 423.2 MB, free: 1.152 MB / 350.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.2554/0.4, allocations: 1.11 MB / 424.3 MB, free: 41.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4001, allocations: 7.719 kB / 424.3 MB, free: 41.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.4006, allocations: 65.34 kB / 424.4 MB, free: 41.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.4011, allocations: 356.9 kB / 424.7 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.4011, allocations: 25.84 kB / 424.8 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.4012, allocations: 34.19 kB / 424.8 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007622/0.4019, allocations: 454 kB / 425.2 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.402, allocations: 6 kB / 425.2 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.402, allocations: 17.12 kB / 425.3 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.402, allocations: 7.875 kB / 425.3 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.4026, allocations: 451.7 kB / 425.7 MB, free: 41.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.4047, allocations: 1.999 MB / 427.7 MB, free: 40.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009251/0.4057, allocations: 0.6903 MB / 428.4 MB, free: 39.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.406, allocations: 298.6 kB / 428.7 MB, free: 39.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.087e-05/0.4061, allocations: 13.44 kB / 428.7 MB, free: 39.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005347/0.4066, allocations: 470 kB / 429.2 MB, free: 39.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.625e-06/0.4066, allocations: 2.266 kB / 429.2 MB, free: 39.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005539/0.4122, allocations: 1.796 MB / 431 MB, free: 39.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.4123, allocations: 193.5 kB / 431.2 MB, free: 39.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.4126, allocations: 307.7 kB / 431.5 MB, free: 39.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.4126, allocations: 38.14 kB / 431.5 MB, free: 39.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.4127, allocations: 163.9 kB / 431.6 MB, free: 39.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.4128, allocations: 167 kB / 431.8 MB, free: 38.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.4129, allocations: 56 kB / 431.9 MB, free: 38.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.413, allocations: 347.8 kB / 432.2 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.4134, allocations: 275.2 kB / 432.5 MB, free: 38.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.4138, allocations: 342.5 kB / 432.8 MB, free: 38.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006704/0.4205, allocations: 2.113 MB / 434.9 MB, free: 37.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.4205, allocations: 0 / 434.9 MB, free: 37.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002381/0.4229, allocations: 1.19 MB / 436.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.423, allocations: 33.2 kB / 436.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.423, allocations: 6.656 kB / 436.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/0.4251, allocations: 0.5247 MB / 436.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.4253, allocations: 80.08 kB / 436.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004637/0.43, allocations: 3.652 MB / 440.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.4304, allocations: 48.19 kB / 440.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.4305, allocations: 30.47 kB / 440.5 MB, free: 34.52 MB / 350.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.0002734/0.4307, allocations: 221.3 kB / 440.7 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.4308, allocations: 38.72 kB / 440.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.4332, allocations: 1.139 MB / 441.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4332, allocations: 6.312 kB / 441.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4332, allocations: 0 / 441.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4333, allocations: 10.64 kB / 441.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.4361, allocations: 1.824 MB / 443.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4361, allocations: 4 kB / 443.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.4363, allocations: 54.3 kB / 443.8 MB, free: 32.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/0.4383, allocations: 0.5055 MB / 444.3 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.4383, allocations: 17.95 kB / 444.3 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004349/0.4427, allocations: 3.591 MB / 447.9 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4427, allocations: 4 kB / 447.9 MB, free: 30.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.4451, allocations: 1.182 MB / 449.1 MB, free: 29.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.4453, allocations: 130 kB / 449.2 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.4454, allocations: 14.41 kB / 449.2 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.4457, allocations: 27.16 kB / 449.2 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.4458, allocations: 37.98 kB / 449.3 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.4459, allocations: 16.47 kB / 449.3 MB, free: 29.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.4461, allocations: 220.4 kB / 449.5 MB, free: 29.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4461, allocations: 0 / 449.5 MB, free: 29.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006469/0.4468, allocations: 186 kB / 449.7 MB, free: 29.18 MB / 350.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.0002186/0.447, allocations: 132.5 kB / 449.8 MB, free: 29.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.4487, allocations: 0.9917 MB / 450.8 MB, free: 28.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4487, allocations: 0 / 450.8 MB, free: 28.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.4498, allocations: 0.6789 MB / 451.5 MB, free: 28.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.4502, allocations: 37.67 kB / 451.5 MB, free: 28.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4514, allocations: 0.976 MB / 452.5 MB, free: 27.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.4516, allocations: 0.8076 MB / 453.3 MB, free: 26.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.4518, allocations: 48.8 kB / 453.4 MB, free: 26.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.4519, allocations: 34.53 kB / 453.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4519, allocations: 0 / 453.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of Templates: time 0.02097/0.4729, allocations: 10.48 MB / 463.9 MB, free: 26.08 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: