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.001109/0.001109, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001763/0.002871, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001124/0.001124, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001657/0.002781, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9168/0.9168, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07084/0.9877, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.02122/0.02122, allocations: 4.472 MB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00381/0.02503, allocations: 2.085 MB / 250.7 MB, free: 8.203 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.613e-06/1.613e-06, allocations: 0 / 252 MB, free: 6.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.385e-05, allocations: 6.25 kB / 252 MB, free: 6.922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002796/0.00281, allocations: 1.823 MB / 253.8 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.005079, allocations: 1.648 MB / 255.5 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.005217, allocations: 8 kB / 255.5 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.005581, allocations: 139.1 kB / 255.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.005889, allocations: 154.9 kB / 255.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.007112, allocations: 0.7855 MB / 256.5 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.00758, allocations: 342.4 kB / 256.9 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.007744, allocations: 81.92 kB / 256.9 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.008033, allocations: 243.4 kB / 257.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.008264, allocations: 135.7 kB / 257.3 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.008319, allocations: 32 kB / 257.4 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/0.008787, allocations: 231.6 kB / 257.6 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.008843, allocations: 51.81 kB / 257.6 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.008959, allocations: 99.75 kB / 257.7 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.009508, allocations: 402.7 kB / 258.1 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.009519, allocations: 0 / 258.1 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.009519, allocations: 0 / 258.1 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.00953, allocations: 0 / 258.1 MB, free: 0.7578 MB / 250.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.002405/0.01193, allocations: 1.004 MB / 259.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.01197, allocations: 12.03 kB / 259.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.0122, allocations: 56.89 kB / 259.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.01245, allocations: 173.2 kB / 259.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.01248, allocations: 24.81 kB / 259.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.01252, allocations: 24.38 kB / 259.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.01281, allocations: 236 kB / 259.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01282, allocations: 192 / 259.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.01285, allocations: 8.375 kB / 259.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01286, allocations: 8.375 kB / 259.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.01305, allocations: 125.1 kB / 259.8 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01405, allocations: 0.562 MB / 260.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.01452, allocations: 290.8 kB / 260.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.01465, allocations: 102.5 kB / 260.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006895/0.01534, allocations: 0.4904 MB / 261.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.01563, allocations: 317.4 kB / 261.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.01563, allocations: 0 / 261.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001741/0.01737, allocations: 0.6789 MB / 262.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.01745, allocations: 174.2 kB / 262.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.01764, allocations: 246.5 kB / 262.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.01767, allocations: 41.7 kB / 262.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.01775, allocations: 152.6 kB / 262.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/0.01783, allocations: 111 kB / 262.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.01795, allocations: 82.14 kB / 263 MB, free: 11.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.01805, allocations: 342.7 kB / 263.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.01818, allocations: 97.5 kB / 263.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.01835, allocations: 175.2 kB / 263.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.01884, allocations: 438.9 kB / 264 MB, free: 10.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.01884, allocations: 3.938 kB / 264 MB, free: 10.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009424/0.01978, allocations: 490.8 kB / 264.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.01982, allocations: 33.69 kB / 264.5 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01983, allocations: 4 kB / 264.5 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.02088, allocations: 288.4 kB / 264.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.02109, allocations: 71.89 kB / 264.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.02356, allocations: 1.776 MB / 266.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.02378, allocations: 39.72 kB / 266.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.02381, allocations: 12 kB / 266.7 MB, free: 7.629 MB / 266.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 {(4,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.02402, allocations: 184 kB / 266.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.02406, allocations: 31.91 kB / 266.9 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/0.02471, allocations: 477.8 kB / 267.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.02472, allocations: 4 kB / 267.4 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.02472, allocations: 4 kB / 267.4 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.02473, allocations: 3.984 kB / 267.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.02491, allocations: 225.6 kB / 267.6 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02492, allocations: 3.984 kB / 267.6 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.02498, allocations: 27.94 kB / 267.7 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.02501, allocations: 35.72 kB / 267.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006344/0.02564, allocations: 276.5 kB / 268 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.02566, allocations: 8 kB / 268 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.02713, allocations: 1.764 MB / 269.7 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02713, allocations: 0 / 269.7 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.0277, allocations: 483.2 kB / 270.2 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.02773, allocations: 12 kB / 270.2 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/0.02781, allocations: 8 kB / 270.2 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.02788, allocations: 27.95 kB / 270.3 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.0279, allocations: 4 kB / 270.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.061e-05/0.02797, allocations: 85.59 kB / 270.3 MB, free: 3.812 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02797, allocations: 4 kB / 270.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.02825, allocations: 127.9 kB / 270.5 MB, free: 3.684 MB / 266.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 {(4,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.02842, allocations: 99.94 kB / 270.6 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000579/0.02899, allocations: 0.5917 MB / 271.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.029, allocations: 4 kB / 271.2 MB, free: 2.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.02937, allocations: 452.7 kB / 271.6 MB, free: 2.473 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.0295, allocations: 72.62 kB / 271.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.03307, allocations: 0.5928 MB / 272.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.87e-05/0.03313, allocations: 93.62 kB / 272.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.783e-05/0.0332, allocations: 34.2 kB / 272.4 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.0333, allocations: 95.36 kB / 272.5 MB, free: 1.535 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0333, allocations: 4 kB / 272.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of Templates: time 0.007679/0.04098, allocations: 7.359 MB / 279.9 MB, free: 10.2 MB / 282.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.4924563579261303]