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.002093/0.002093, allocations: 87.69 kB / 20.25 MB, free: 4.168 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.002034/0.002034, allocations: 165.2 kB / 23.57 MB, free: 0.8555 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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.03892/0.03892, allocations: 4.489 MB / 264.8 MB, free: 8.59 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.643e-06/1.643e-06, allocations: 0 / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.702e-05, allocations: 2.312 kB / 335.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002244/0.002271, allocations: 1.781 MB / 337.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.004157, allocations: 1.606 MB / 339.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.004288, allocations: 4 kB / 339.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.004661, allocations: 147.1 kB / 339.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.005, allocations: 143 kB / 339.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.006341, allocations: 0.8051 MB / 340.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.006712, allocations: 338.3 kB / 340.5 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.006884, allocations: 75.36 kB / 340.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.007052, allocations: 207.5 kB / 340.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.007261, allocations: 143.6 kB / 341 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.007304, allocations: 32 kB / 341 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.007648, allocations: 219.6 kB / 341.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.007695, allocations: 75.73 kB / 341.3 MB, free: 8.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.007806, allocations: 111.6 kB / 341.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.008331, allocations: 0.5376 MB / 341.9 MB, free: 7.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.008335, allocations: 0 / 341.9 MB, free: 7.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.008336, allocations: 4 kB / 341.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.008343, allocations: 0 / 341.9 MB, free: 7.391 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.002347/0.01069, allocations: 0.9885 MB / 342.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.01073, allocations: 8.031 kB / 342.9 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.01101, allocations: 80.62 kB / 343 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.01128, allocations: 240.1 kB / 343.2 MB, free: 6.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.0113, allocations: 20.88 kB / 343.3 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.01134, allocations: 24.38 kB / 343.3 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.01176, allocations: 332 kB / 343.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.01178, allocations: 192 / 343.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.01181, allocations: 12.38 kB / 343.6 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.01181, allocations: 8.375 kB / 343.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.01216, allocations: 263.5 kB / 343.9 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.01348, allocations: 0.9493 MB / 344.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.0142, allocations: 365.3 kB / 345.2 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.01443, allocations: 205.3 kB / 345.4 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008084/0.01524, allocations: 0.7153 MB / 346.1 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.01559, allocations: 415.1 kB / 346.5 MB, free: 2.578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.844e-06/0.01559, allocations: 0 / 346.5 MB, free: 2.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002838/0.01843, allocations: 1.068 MB / 347.6 MB, free: 1.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.01849, allocations: 187.9 kB / 347.8 MB, free: 1.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.01874, allocations: 372.2 kB / 348.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.01877, allocations: 29.7 kB / 348.2 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.01884, allocations: 223.4 kB / 348.4 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.01891, allocations: 107.1 kB / 348.5 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.01903, allocations: 119.8 kB / 348.6 MB, free: 396 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.01922, allocations: 0.5274 MB / 349.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.01955, allocations: 202.6 kB / 349.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.02004, allocations: 327.4 kB / 349.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.02124, allocations: 0.7663 MB / 350.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.02124, allocations: 0 / 350.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002019/0.02326, allocations: 0.8529 MB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.02331, allocations: 33.7 kB / 351.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.02332, allocations: 8 kB / 351.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.025, allocations: 371.3 kB / 351.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.02524, allocations: 63.91 kB / 351.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004841/0.03009, allocations: 3.33 MB / 355.1 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.03045, allocations: 43.73 kB / 355.1 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.03049, allocations: 16 kB / 355.1 MB, free: 9.578 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.0003861/0.03088, allocations: 258.6 kB / 355.4 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/0.03098, allocations: 51.78 kB / 355.4 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.0329, allocations: 0.7512 MB / 356.2 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.03291, allocations: 7.938 kB / 356.2 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.03291, allocations: 4 kB / 356.2 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.03291, allocations: 0 / 356.2 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.03341, allocations: 368.1 kB / 356.5 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.03341, allocations: 3.984 kB / 356.5 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.03352, allocations: 20 kB / 356.6 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.03509, allocations: 359.3 kB / 356.9 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.03512, allocations: 12 kB / 356.9 MB, free: 7.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004754/0.03988, allocations: 3.322 MB / 360.2 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.03988, allocations: 3.984 kB / 360.2 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.04178, allocations: 0.7881 MB / 361 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.04186, allocations: 31.89 kB / 361.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.04192, allocations: 15.88 kB / 361.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.04212, allocations: 12 kB / 361.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.04222, allocations: 23.95 kB / 361.1 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.04226, allocations: 15.98 kB / 361.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002707/0.04253, allocations: 249.1 kB / 361.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04253, allocations: 0 / 361.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.04306, allocations: 123.9 kB / 361.5 MB, free: 2.949 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.000259/0.04332, allocations: 126 kB / 361.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.04499, allocations: 0.8324 MB / 362.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.045, allocations: 4.5 kB / 362.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.04605, allocations: 0.5842 MB / 363 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.04631, allocations: 40.36 kB / 363.1 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.04759, allocations: 0.6268 MB / 363.7 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.04777, allocations: 156.2 kB / 363.9 MB, free: 440 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.04789, allocations: 38.34 kB / 363.9 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.04796, allocations: 24.5 kB / 363.9 MB, free: 380 kB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.04796, allocations: 0 / 363.9 MB, free: 380 kB / 282.7 MB Notification: Performance of Templates: time 0.01439/0.06235, allocations: 7.021 MB / 370.9 MB, free: 9.395 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: 4.633785290992819]