Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001687/0.001687, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002032/0.002032, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.121 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2112, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02596/0.2371, allocations: 26.81 MB / 458.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02802/0.2652, allocations: 22.44 MB / 481.3 MB, free: 5.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.2679, allocations: 182.4 kB / 481.5 MB, free: 5.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.2713, allocations: 1.786 MB / 483.3 MB, free: 3.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007868/0.2792, allocations: 3.324 MB / 486.6 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.2832, allocations: 1.639 MB / 488.2 MB, free: 14.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01777/0.3009, allocations: 12.87 MB / 0.4894 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009106/0.3018, allocations: 0.5078 MB / 0.4899 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/0.3047, allocations: 2.111 MB / 0.4919 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/0.3073, allocations: 2.1 MB / 0.494 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002952/0.3076, allocations: 136 kB / 0.4941 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003864/0.3115, allocations: 1.541 MB / 0.4956 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005622/0.3121, allocations: 0.5971 MB / 0.4962 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.3144, allocations: 2.624 MB / 0.4988 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007521/0.3219, allocations: 6.675 MB / 0.5053 GB, free: 1.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3219, allocations: 0 / 0.5053 GB, free: 1.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3219, allocations: 0 / 0.5053 GB, free: 1.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.572e-05/0.322, allocations: 3.938 kB / 0.5053 GB, free: 1.629 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.0104/0.3324, allocations: 6.926 MB / 0.512 GB, free: 10.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3325, allocations: 12.03 kB / 0.512 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008212/0.3333, allocations: 0.7764 MB / 0.5128 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007091/0.3404, allocations: 4.652 MB / 0.5173 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/0.3404, allocations: 70 kB / 0.5174 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.3407, allocations: 107.9 kB / 0.5175 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.343, allocations: 1.301 MB / 0.5188 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.343, allocations: 0 / 0.5188 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.3431, allocations: 36 kB / 0.5188 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.3432, allocations: 39.97 kB / 0.5189 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/0.3459, allocations: 1.48 MB / 0.5203 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009567/0.3554, allocations: 5.633 MB / 0.5258 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.3571, allocations: 0.864 MB / 0.5267 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.3588, allocations: 1.055 MB / 0.5277 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2162/0.575, allocations: 61.08 MB / 0.5873 GB, free: 54.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008297/0.5758, allocations: 0.5552 MB / 0.5879 GB, free: 54.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 2.755e-06/0.5758, allocations: 1.781 kB / 0.5879 GB, free: 54.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.002563/0.5784, allocations: 1.912 MB / 0.5897 GB, free: 52.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.5784, allocations: 63.97 kB / 0.5898 GB, free: 52.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004533/0.5829, allocations: 5.587 MB / 0.5953 GB, free: 47.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/0.583, allocations: 41.7 kB / 0.5953 GB, free: 47.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001543/0.5846, allocations: 2.968 MB / 0.5982 GB, free: 44.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.5847, allocations: 305.8 kB / 0.5985 GB, free: 43.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.5851, allocations: 431 kB / 0.5989 GB, free: 43.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.317e-05/0.5851, allocations: 301.1 kB / 0.5992 GB, free: 43.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007147/0.5858, allocations: 407 kB / 0.5996 GB, free: 42.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009165/0.5867, allocations: 1.083 MB / 0.6006 GB, free: 41.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.5884, allocations: 1.616 MB / 0.6022 GB, free: 39.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.5884, allocations: 11.94 kB / 0.6022 GB, free: 39.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002633/0.5911, allocations: 2.243 MB / 0.6044 GB, free: 37.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5911, allocations: 12 kB / 0.6044 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/0.5913, allocations: 164 kB / 0.6046 GB, free: 37.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/0.5913, allocations: 32 kB / 0.6046 GB, free: 37.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.5924, allocations: 359.3 kB / 0.605 GB, free: 36.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.16e-05/0.5924, allocations: 47.8 kB / 0.605 GB, free: 36.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.5939, allocations: 192.1 kB / 0.6052 GB, free: 36.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.594, allocations: 124 kB / 0.6053 GB, free: 36.45 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.0008848/0.5949, allocations: 0.7139 MB / 0.606 GB, free: 35.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004411/0.5953, allocations: 0.753 MB / 0.6067 GB, free: 34.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/0.5988, allocations: 2.151 MB / 0.6088 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5988, allocations: 3.984 kB / 0.6088 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001478/0.599, allocations: 140 kB / 0.609 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.6002, allocations: 0.8542 MB / 0.6098 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005439/0.6008, allocations: 15.98 kB / 0.6098 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.6018, allocations: 31.97 kB / 0.6098 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.602, allocations: 100.5 kB / 0.6099 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002069/0.6041, allocations: 1.05 MB / 0.611 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002537/0.6066, allocations: 2.222 MB / 0.6131 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006209/0.6072, allocations: 356.3 kB / 0.6135 GB, free: 28.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003283/0.6105, allocations: 3.608 MB / 0.617 GB, free: 24.48 MB / 446.1 MB Notification: Performance of Backend: time 5.61e-07/0.6105, allocations: 0 / 0.617 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00358/0.6141, allocations: 2.318 MB / 0.6193 GB, free: 22.18 MB / 446.1 MB Notification: Performance of SimCode: time 0.01003/0.6241, allocations: 10.13 MB / 0.6292 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Templates: time 0.09993/0.7241, allocations: 60.46 MB / 0.6882 GB, free: 15.86 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.4007764449343085] Failed to read output from testmodel.py, exit status != 0: ['time', 'mp1.S.v', 'mp2.S.v', 'mp3.S.v', 'mp4.S.v', 'v.p.v'] 0.7319786981679499 0.745787951 0.42078153100000004 Calling exit ...