Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 106.2 kB / 19.8 MB, free: 2.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 216.2 kB / 22.99 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.88 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2574, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02726/0.2846, allocations: 26.83 MB / 456.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03195/0.3166, allocations: 22.43 MB / 479.1 MB, free: 6.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005366/0.322, allocations: 174.6 kB / 479.2 MB, free: 5.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006062/0.328, allocations: 1.79 MB / 481 MB, free: 4.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.3422, allocations: 3.317 MB / 484.3 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007499/0.3497, allocations: 1.639 MB / 486 MB, free: 15.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02356/0.3733, allocations: 12.87 MB / 498.8 MB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.3746, allocations: 0.5078 MB / 499.3 MB, free: 1.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003511/0.3781, allocations: 2.107 MB / 0.4897 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003883/0.382, allocations: 2.107 MB / 0.4918 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007461/0.3827, allocations: 143.9 kB / 0.4919 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005062/0.3878, allocations: 1.533 MB / 0.4934 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009787/0.3888, allocations: 0.5932 MB / 0.494 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004219/0.393, allocations: 2.624 MB / 0.4965 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.4043, allocations: 6.675 MB / 0.5031 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4043, allocations: 0 / 0.5031 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4043, allocations: 0 / 0.5031 GB, free: 1.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002274/0.4045, allocations: 0 / 0.5031 GB, free: 1.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01194/0.4165, allocations: 6.931 MB / 0.5098 GB, free: 10.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4165, allocations: 12.03 kB / 0.5098 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.4177, allocations: 0.7803 MB / 0.5106 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008507/0.4262, allocations: 4.656 MB / 0.5151 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.222e-05/0.4262, allocations: 66 kB / 0.5152 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/0.4265, allocations: 103.9 kB / 0.5153 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.4291, allocations: 1.301 MB / 0.5166 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.4291, allocations: 0 / 0.5166 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.4292, allocations: 40 kB / 0.5166 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.095e-05/0.4293, allocations: 39.97 kB / 0.5166 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/0.432, allocations: 1.476 MB / 0.5181 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.444, allocations: 5.629 MB / 0.5236 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.4457, allocations: 0.8757 MB / 0.5244 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.4474, allocations: 1.055 MB / 0.5255 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2585/0.7059, allocations: 61.08 MB / 0.5851 GB, free: 55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008481/0.7067, allocations: 0.5482 MB / 0.5857 GB, free: 54.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 2.996e-06/0.7067, allocations: 3.156 kB / 0.5857 GB, free: 54.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.003155/0.7099, allocations: 1.914 MB / 0.5875 GB, free: 52.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.7099, allocations: 59.97 kB / 0.5876 GB, free: 52.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00578/0.7157, allocations: 5.594 MB / 0.593 GB, free: 47.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.7159, allocations: 41.7 kB / 0.5931 GB, free: 47.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.7177, allocations: 2.962 MB / 0.596 GB, free: 44.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004324/0.7181, allocations: 310.4 kB / 0.5963 GB, free: 44.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004829/0.7186, allocations: 427 kB / 0.5967 GB, free: 43.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.7186, allocations: 301.1 kB / 0.597 GB, free: 43.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/0.7194, allocations: 403.8 kB / 0.5974 GB, free: 43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009652/0.7204, allocations: 1.09 MB / 0.5984 GB, free: 41.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.7222, allocations: 1.612 MB / 0.6 GB, free: 39.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.7222, allocations: 8 kB / 0.6 GB, free: 39.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003231/0.7254, allocations: 2.238 MB / 0.6022 GB, free: 37.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.7254, allocations: 12.62 kB / 0.6022 GB, free: 37.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/0.7256, allocations: 164 kB / 0.6024 GB, free: 37.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.601e-05/0.7257, allocations: 40.09 kB / 0.6024 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.7267, allocations: 359.4 kB / 0.6027 GB, free: 36.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/0.7267, allocations: 51.78 kB / 0.6028 GB, free: 36.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.7288, allocations: 188.3 kB / 0.603 GB, free: 36.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.729, allocations: 130.3 kB / 0.6031 GB, free: 36.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00132/0.7303, allocations: 0.7083 MB / 0.6038 GB, free: 35.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009287/0.7312, allocations: 0.7569 MB / 0.6045 GB, free: 35.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004155/0.7354, allocations: 2.15 MB / 0.6066 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.7354, allocations: 8 kB / 0.6066 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7354, allocations: 3.609 kB / 0.6066 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.7354, allocations: 3.984 kB / 0.6066 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/0.7419, allocations: 3.6 MB / 0.6102 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001469/0.742, allocations: 142.9 kB / 0.6103 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007158/0.7427, allocations: 163.8 kB / 0.6104 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.7427, allocations: 7.938 kB / 0.6105 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.894e-05/0.7428, allocations: 55.98 kB / 0.6105 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.7428, allocations: 4 kB / 0.6105 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7428, allocations: 4 kB / 0.6105 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.7461, allocations: 2.189 MB / 0.6126 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.7475, allocations: 0.8516 MB / 0.6135 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008465/0.7483, allocations: 19.98 kB / 0.6135 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.7498, allocations: 31.97 kB / 0.6135 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.75, allocations: 100.5 kB / 0.6136 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.7501, allocations: 64 kB / 0.6137 GB, free: 25.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005101/0.7552, allocations: 3.62 MB / 0.6172 GB, free: 22.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7552, allocations: 0 / 0.6172 GB, free: 22.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002541/0.7578, allocations: 1.086 MB / 0.6183 GB, free: 21.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00161/0.7594, allocations: 1.181 MB / 0.6194 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.7616, allocations: 1.362 MB / 0.6208 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7616, allocations: 0 / 0.6208 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009579/0.7626, allocations: 0.7394 MB / 0.6215 GB, free: 17.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005437/0.768, allocations: 1.21 MB / 0.6227 GB, free: 16.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.7791, allocations: 8.267 MB / 0.6307 GB, free: 8.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.7804, allocations: 2.599 MB / 0.6333 GB, free: 5.625 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002042/0.7824, allocations: 0.6885 MB / 0.634 GB, free: 4.934 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.7828, allocations: 279.4 kB / 0.6342 GB, free: 4.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.7828, allocations: 0 / 0.6342 GB, free: 4.66 MB / 446.1 MB Notification: Performance of Templates: time 0.1074/0.8902, allocations: 56.42 MB / 0.6893 GB, free: 12.45 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.669079078361392]