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.0009701/0.0009701, allocations: 79.36 kB / 20.47 MB, free: 4.102 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.001017/0.001017, allocations: 173 kB / 23.84 MB, free: 0.7266 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.005/1.005, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.02326/0.02326, allocations: 4.487 MB / 265.2 MB, free: 8.559 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.914e-06/1.914e-06, allocations: 0 / 336.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.908e-05, allocations: 2.312 kB / 336.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.001877/0.001896, allocations: 1.788 MB / 338.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.003251, allocations: 1.637 MB / 339.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.638e-05/0.003347, allocations: 8 kB / 339.9 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.003658, allocations: 139.1 kB / 340 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.003912, allocations: 143 kB / 340.2 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.004775, allocations: 0.8091 MB / 341 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.005067, allocations: 342.3 kB / 341.3 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.005207, allocations: 83.28 kB / 341.4 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.005327, allocations: 195.6 kB / 341.6 MB, free: 8.133 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.005495, allocations: 147.6 kB / 341.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.005528, allocations: 36 kB / 341.8 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.005744, allocations: 219.6 kB / 342 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.00578, allocations: 67.77 kB / 342.1 MB, free: 7.672 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.00586, allocations: 119.6 kB / 342.2 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.006203, allocations: 434.6 kB / 342.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006205, allocations: 0 / 342.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006205, allocations: 0 / 342.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.00621, allocations: 4 kB / 342.6 MB, free: 7.125 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.001381/0.007591, allocations: 0.9654 MB / 343.6 MB, free: 6.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.007631, allocations: 12.03 kB / 343.6 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.007812, allocations: 72.62 kB / 343.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.008045, allocations: 232.2 kB / 343.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.008063, allocations: 16.88 kB / 343.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.008092, allocations: 28.38 kB / 343.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.008379, allocations: 252 kB / 344.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.008389, allocations: 192 / 344.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.008411, allocations: 12.31 kB / 344.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.008422, allocations: 12.38 kB / 344.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.00861, allocations: 164.5 kB / 344.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.009449, allocations: 0.845 MB / 345.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.009925, allocations: 265.3 kB / 345.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.0101, allocations: 129.3 kB / 345.6 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006522/0.01075, allocations: 0.6639 MB / 346.2 MB, free: 3.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.01102, allocations: 327.2 kB / 346.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.01103, allocations: 0 / 346.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001839/0.01287, allocations: 0.7928 MB / 347.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.01291, allocations: 199.9 kB / 347.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.01308, allocations: 300.2 kB / 347.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.0131, allocations: 37.69 kB / 347.9 MB, free: 1.516 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.01317, allocations: 211.4 kB / 348.1 MB, free: 1.305 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.01323, allocations: 103.1 kB / 348.2 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.01333, allocations: 91.84 kB / 348.3 MB, free: 1.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.01339, allocations: 0.5079 MB / 348.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.01355, allocations: 126.6 kB / 348.9 MB, free: 468 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.01375, allocations: 239.4 kB / 349.1 MB, free: 180 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.01441, allocations: 0.5338 MB / 349.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01441, allocations: 0 / 349.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001169/0.01558, allocations: 0.6225 MB / 350.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.01561, allocations: 33.7 kB / 350.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01562, allocations: 4.031 kB / 350.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.01664, allocations: 287.3 kB / 350.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.01682, allocations: 63.91 kB / 350.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.01937, allocations: 2.455 MB / 353.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.01955, allocations: 43.61 kB / 353.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.01958, allocations: 16 kB / 353.2 MB, free: 11.9 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.0002716/0.01985, allocations: 231.3 kB / 353.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.01992, allocations: 43.91 kB / 353.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.021, allocations: 0.5441 MB / 354 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.02101, allocations: 8 kB / 354 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.02101, allocations: 4 kB / 354 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.02102, allocations: 3.984 kB / 354 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.02129, allocations: 308.2 kB / 354.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02129, allocations: 0 / 354.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.02137, allocations: 27.98 kB / 354.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009648/0.02233, allocations: 267.4 kB / 354.6 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.02236, allocations: 23.97 kB / 354.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.02486, allocations: 2.436 MB / 357.1 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.02487, allocations: 3.938 kB / 357.1 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.02593, allocations: 0.5655 MB / 357.6 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.02596, allocations: 35.81 kB / 357.7 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.02601, allocations: 11.94 kB / 357.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.02613, allocations: 12 kB / 357.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.02622, allocations: 27.94 kB / 357.7 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.02624, allocations: 12 kB / 357.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.02638, allocations: 213.1 kB / 357.9 MB, free: 6.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02638, allocations: 0 / 357.9 MB, free: 6.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000399/0.02678, allocations: 127.9 kB / 358.1 MB, free: 6.785 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.0001778/0.02696, allocations: 123.2 kB / 358.2 MB, free: 6.652 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.02821, allocations: 0.6763 MB / 358.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.02821, allocations: 4.125 kB / 358.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.02878, allocations: 498.2 kB / 359.4 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.029, allocations: 32.44 kB / 359.4 MB, free: 5.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.03009, allocations: 0.5565 MB / 359.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.772e-05/0.03016, allocations: 93.62 kB / 360 MB, free: 4.664 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.387e-05/0.03024, allocations: 42.34 kB / 360.1 MB, free: 4.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.0303, allocations: 24.5 kB / 360.1 MB, free: 4.598 MB / 282.7 MB Notification: Performance of SimCode: time 9.01e-07/0.0303, allocations: 0 / 360.1 MB, free: 4.598 MB / 282.7 MB Notification: Performance of Templates: time 0.01078/0.04108, allocations: 7.415 MB / 367.5 MB, free: 13.23 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.8473473158665]