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.0007584/0.0007584, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009011/0.00166, allocations: 447.8 kB / 10.35 MB, free: 348 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.0006853/0.0006853, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008946/0.00158, allocations: 467.6 kB / 11.69 MB, free: 2.477 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 1.181/1.181, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1308/1.311, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.03294/0.03294, allocations: 4.471 MB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006654/0.0396, allocations: 2.085 MB / 250.5 MB, free: 8.297 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 2.024e-06/2.024e-06, allocations: 0 / 251.8 MB, free: 7.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.497e-05/3.699e-05, allocations: 2.312 kB / 251.8 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.004438/0.004475, allocations: 1.806 MB / 253.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.007655, allocations: 1.656 MB / 255.2 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.00785, allocations: 8 kB / 255.2 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.008269, allocations: 139.1 kB / 255.4 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.008629, allocations: 154.9 kB / 255.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.01007, allocations: 0.7816 MB / 256.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005833/0.01065, allocations: 338.4 kB / 256.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.01083, allocations: 93.91 kB / 256.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.0111, allocations: 239.4 kB / 257 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.01134, allocations: 143.6 kB / 257.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.01138, allocations: 32 kB / 257.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.01199, allocations: 231.7 kB / 257.4 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.01205, allocations: 51.81 kB / 257.4 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.01219, allocations: 91.81 kB / 257.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.01287, allocations: 402.7 kB / 257.9 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-05/0.01289, allocations: 0 / 257.9 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01289, allocations: 0 / 257.9 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.01292, allocations: 0 / 257.9 MB, free: 0.8867 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.002254/0.01517, allocations: 1.008 MB / 258.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.0152, allocations: 12.03 kB / 258.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.01542, allocations: 56.89 kB / 259 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.01568, allocations: 169.2 kB / 259.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.01571, allocations: 20.88 kB / 259.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.01574, allocations: 24.38 kB / 259.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.01606, allocations: 247.9 kB / 259.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.01606, allocations: 192 / 259.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.01608, allocations: 8.375 kB / 259.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.0161, allocations: 8.375 kB / 259.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.0163, allocations: 113.1 kB / 259.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01733, allocations: 0.5738 MB / 260.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.01783, allocations: 286.8 kB / 260.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.01797, allocations: 98.53 kB / 260.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007463/0.01871, allocations: 0.4942 MB / 261 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.0191, allocations: 325.5 kB / 261.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.252e-06/0.01911, allocations: 4 kB / 261.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001787/0.02089, allocations: 0.6758 MB / 262 MB, free: 12.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.02101, allocations: 195.9 kB / 262.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.02124, allocations: 242.5 kB / 262.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.02127, allocations: 33.7 kB / 262.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.02137, allocations: 148.7 kB / 262.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/0.02146, allocations: 107 kB / 262.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.02158, allocations: 86.12 kB / 262.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.02171, allocations: 346.6 kB / 263.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.02186, allocations: 101.5 kB / 263.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.02206, allocations: 179.2 kB / 263.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.02259, allocations: 419.2 kB / 263.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.0226, allocations: 0 / 263.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009523/0.02355, allocations: 0.4949 MB / 264.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/0.0236, allocations: 33.7 kB / 264.3 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.02361, allocations: 0 / 264.3 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.02466, allocations: 264.5 kB / 264.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.02489, allocations: 79.83 kB / 264.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.02728, allocations: 1.768 MB / 266.4 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.02754, allocations: 43.92 kB / 266.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.02757, allocations: 11.94 kB / 266.5 MB, free: 7.75 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.0003191/0.02789, allocations: 184.3 kB / 266.7 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.02795, allocations: 31.97 kB / 266.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009717/0.02892, allocations: 473.7 kB / 267.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.02893, allocations: 4 kB / 267.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.02893, allocations: 4 kB / 267.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.02894, allocations: 3.984 kB / 267.2 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.02924, allocations: 225.6 kB / 267.4 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.02924, allocations: 4 kB / 267.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/0.02934, allocations: 35.92 kB / 267.4 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.02938, allocations: 35.72 kB / 267.5 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009564/0.03034, allocations: 260.5 kB / 267.7 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.03036, allocations: 8 kB / 267.7 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.03255, allocations: 1.757 MB / 269.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.03255, allocations: 0 / 269.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.03344, allocations: 487.2 kB / 270 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.03349, allocations: 12 kB / 270 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.03363, allocations: 8 kB / 270 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.03372, allocations: 23.95 kB / 270 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.03374, allocations: 19.98 kB / 270 MB, free: 4.027 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.03385, allocations: 77.61 kB / 270.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03385, allocations: 0 / 270.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005469/0.0344, allocations: 127.9 kB / 270.2 MB, free: 3.824 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.0002375/0.03464, allocations: 100.4 kB / 270.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.03567, allocations: 0.5878 MB / 270.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/0.03568, allocations: 7.938 kB / 270.9 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.03629, allocations: 432.5 kB / 271.4 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.03649, allocations: 52.81 kB / 271.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.04287, allocations: 0.5949 MB / 272 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.04297, allocations: 101.5 kB / 272.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.04313, allocations: 30.28 kB / 272.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.04332, allocations: 95.36 kB / 272.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of SimCode: time 1.754e-06/0.04332, allocations: 0 / 272.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of Templates: time 0.01359/0.05691, allocations: 7.338 MB / 279.6 MB, free: 10.41 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.9701569247990847]