Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009823/0.0009823, allocations: 83.34 kB / 20.47 MB, free: 4.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 165 kB / 23.84 MB, free: 0.7227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.013/1.013, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02311/0.02311, allocations: 4.482 MB / 265.2 MB, free: 8.543 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.718e-05, allocations: 4.703 kB / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.00174/0.001757, allocations: 1.792 MB / 338.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.003278, allocations: 1.633 MB / 339.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.003408, allocations: 4 kB / 339.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.003771, allocations: 147 kB / 340 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.004065, allocations: 147.1 kB / 340.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008722/0.004938, allocations: 0.8051 MB / 341 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.005295, allocations: 342.3 kB / 341.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.005437, allocations: 75.36 kB / 341.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.005571, allocations: 207.5 kB / 341.6 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.00574, allocations: 139.6 kB / 341.7 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.005774, allocations: 36 kB / 341.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.006091, allocations: 223.5 kB / 342 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.006136, allocations: 71.75 kB / 342.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.006216, allocations: 107.7 kB / 342.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.006621, allocations: 434.6 kB / 342.6 MB, free: 7.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.006623, allocations: 8 kB / 342.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006624, allocations: 0 / 342.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.006628, allocations: 0 / 342.6 MB, free: 7.109 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001399/0.008027, allocations: 0.9653 MB / 343.6 MB, free: 6.098 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.008061, allocations: 12.03 kB / 343.6 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.00825, allocations: 72.69 kB / 343.6 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.008464, allocations: 232.2 kB / 343.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.00848, allocations: 16.88 kB / 343.9 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.008511, allocations: 28.38 kB / 343.9 MB, free: 5.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.008778, allocations: 255.9 kB / 344.2 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.00879, allocations: 192 / 344.2 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.008811, allocations: 8.375 kB / 344.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.008819, allocations: 8.375 kB / 344.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.009012, allocations: 164.6 kB / 344.3 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.009861, allocations: 0.8527 MB / 345.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.01027, allocations: 269.3 kB / 345.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.0104, allocations: 125.3 kB / 345.6 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005122/0.01091, allocations: 0.6561 MB / 346.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.01114, allocations: 333.1 kB / 346.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.01114, allocations: 0 / 346.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001457/0.0126, allocations: 0.7909 MB / 347.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.01264, allocations: 195.9 kB / 347.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.01279, allocations: 308.2 kB / 347.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.01281, allocations: 41.69 kB / 347.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.01286, allocations: 203.4 kB / 348.1 MB, free: 1.289 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.01291, allocations: 103.1 kB / 348.2 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.013, allocations: 95.84 kB / 348.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.01305, allocations: 0.5079 MB / 348.8 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.01318, allocations: 126.6 kB / 348.9 MB, free: 448 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.01334, allocations: 239.4 kB / 349.1 MB, free: 160 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.01388, allocations: 0.53 MB / 349.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01388, allocations: 0 / 349.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009332/0.01482, allocations: 0.6264 MB / 350.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.01485, allocations: 33.7 kB / 350.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01486, allocations: 0 / 350.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008058/0.01566, allocations: 287.3 kB / 350.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.0158, allocations: 63.91 kB / 350.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.01784, allocations: 2.454 MB / 353.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.01798, allocations: 43.67 kB / 353.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.01801, allocations: 16.09 kB / 353.2 MB, free: 11.89 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: lnFault.myFault.fault:DISCRETE(start = false fixed = true ) \"true means the fault is active\" type: Boolean lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) \"Real part of complex number\" type: Real lnFault.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: 10 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,lnFault.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im,lnFault.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.01821, allocations: 235.2 kB / 353.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.01825, allocations: 43.81 kB / 353.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008476/0.0191, allocations: 0.5402 MB / 354 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01911, allocations: 4 kB / 354 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01911, allocations: 4.109 kB / 354 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01912, allocations: 11.92 kB / 354 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.01934, allocations: 312.2 kB / 354.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01934, allocations: 0 / 354.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.0194, allocations: 23.94 kB / 354.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007463/0.02014, allocations: 275.3 kB / 354.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.02017, allocations: 15.98 kB / 354.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.02218, allocations: 2.44 MB / 357.1 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.02218, allocations: 3.938 kB / 357.1 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/0.02304, allocations: 0.5693 MB / 357.6 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.02308, allocations: 31.78 kB / 357.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.02311, allocations: 11.94 kB / 357.7 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.0232, allocations: 12.11 kB / 357.7 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.02328, allocations: 31.88 kB / 357.7 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.0233, allocations: 12 kB / 357.7 MB, free: 7.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.02342, allocations: 205.1 kB / 357.9 MB, free: 6.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02342, allocations: 4 kB / 357.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.02374, allocations: 127.9 kB / 358.1 MB, free: 6.766 MB / 282.7 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,lnFault.myFault.Y.re,lnFault.myFault.Y.im,lnFault.myFault.fault) * Number of discrete states: 7 ($whenCondition4,lnFault.myFault.Y.im,lnFault.myFault.Y.re,$whenCondition3,$whenCondition2,lnFault.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.02391, allocations: 126.3 kB / 358.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.02469, allocations: 0.6759 MB / 358.9 MB, free: 5.914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02469, allocations: 0.5 kB / 358.9 MB, free: 5.914 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.02513, allocations: 0.4943 MB / 359.4 MB, free: 5.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.0253, allocations: 24.5 kB / 359.4 MB, free: 5.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.02632, allocations: 0.5635 MB / 360 MB, free: 4.758 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.952e-05/0.02639, allocations: 93.62 kB / 360 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.02646, allocations: 38.25 kB / 360.1 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.02651, allocations: 28.44 kB / 360.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02651, allocations: 4 kB / 360.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of Templates: time 0.008431/0.03494, allocations: 7.01 MB / 367.1 MB, free: 13.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.939274412114173]