Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 115.1 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2207, allocations: 50.53 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01313/0.2338, allocations: 15.31 MB / 425.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02097/0.2548, allocations: 20.78 MB / 446 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.2565, allocations: 91.25 kB / 446.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.2593, allocations: 1.271 MB / 447.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.2657, allocations: 2.367 MB / 449.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.2697, allocations: 1.447 MB / 451.2 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009506/0.2792, allocations: 6.683 MB / 457.9 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006757/0.2799, allocations: 473.5 kB / 458.3 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.2813, allocations: 1.143 MB / 459.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.2825, allocations: 1.145 MB / 460.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.2827, allocations: 76 kB / 460.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.2864, allocations: 1.475 MB / 462.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.2867, allocations: 337.5 kB / 462.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.288, allocations: 1.428 MB / 463.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.2924, allocations: 4.013 MB / 467.9 MB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2925, allocations: 0 / 467.9 MB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2925, allocations: 0 / 467.9 MB, free: 7.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.528e-05/0.2925, allocations: 0 / 467.9 MB, free: 7.285 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004764/0.2973, allocations: 3.961 MB / 471.9 MB, free: 3.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2973, allocations: 8.031 kB / 471.9 MB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.2977, allocations: 429.3 kB / 472.3 MB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.3007, allocations: 2.506 MB / 474.8 MB, free: 244 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3007, allocations: 37 kB / 474.9 MB, free: 208 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.3009, allocations: 55.95 kB / 474.9 MB, free: 152 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.3022, allocations: 0.7227 MB / 475.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3022, allocations: 3.938 kB / 475.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.3023, allocations: 23.98 kB / 475.7 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.3023, allocations: 20 kB / 475.7 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.3038, allocations: 0.8163 MB / 476.5 MB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004599/0.3084, allocations: 3.118 MB / 479.6 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.3096, allocations: 0.5752 MB / 480.2 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009481/0.3105, allocations: 0.6477 MB / 480.9 MB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02685/0.3374, allocations: 30.76 MB / 0.4996 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007116/0.3381, allocations: 365.6 kB / 0.5 GB, free: 6.738 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.484e-06/0.3381, allocations: 0 / 0.5 GB, free: 6.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.002097/0.3402, allocations: 1.126 MB / 0.5011 GB, free: 5.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.3403, allocations: 59.41 kB / 0.5011 GB, free: 5.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/0.3436, allocations: 3.09 MB / 0.5041 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.3437, allocations: 37.69 kB / 0.5042 GB, free: 2.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.3449, allocations: 1.589 MB / 0.5057 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.345, allocations: 174.5 kB / 0.5059 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.3453, allocations: 234.4 kB / 0.5061 GB, free: 404 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3454, allocations: 337.9 kB / 0.5064 GB, free: 60 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.346, allocations: 241.9 kB / 0.5067 GB, free: 15.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/0.3468, allocations: 0.602 MB / 0.5073 GB, free: 15.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.3481, allocations: 0.8935 MB / 0.5081 GB, free: 13.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3481, allocations: 4 kB / 0.5081 GB, free: 13.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001928/0.3501, allocations: 1.263 MB / 0.5094 GB, free: 12.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3501, allocations: 12 kB / 0.5094 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-05/0.3502, allocations: 83.98 kB / 0.5095 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.3502, allocations: 16 kB / 0.5095 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.3509, allocations: 203.6 kB / 0.5097 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.351, allocations: 23.94 kB / 0.5097 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/0.3519, allocations: 111.5 kB / 0.5098 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/0.352, allocations: 68 kB / 0.5099 GB, free: 12.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0006375/0.3526, allocations: 449.4 kB / 0.5103 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.353, allocations: 421.3 kB / 0.5107 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.3554, allocations: 1.219 MB / 0.5119 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3554, allocations: 3.984 kB / 0.5119 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-05/0.3555, allocations: 68 kB / 0.512 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006315/0.3562, allocations: 0.4944 MB / 0.5124 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/0.3565, allocations: 15.98 kB / 0.5125 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.3571, allocations: 23.97 kB / 0.5125 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3573, allocations: 67.83 kB / 0.5125 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001597/0.3589, allocations: 0.692 MB / 0.5132 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002093/0.361, allocations: 1.379 MB / 0.5146 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005313/0.3615, allocations: 253.4 kB / 0.5148 GB, free: 7.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002307/0.3639, allocations: 2.011 MB / 0.5168 GB, free: 5.059 MB / 446.1 MB Notification: Performance of Backend: time 6.81e-07/0.3639, allocations: 0 / 0.5168 GB, free: 5.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002806/0.3667, allocations: 1.487 MB / 0.5182 GB, free: 3.539 MB / 446.1 MB Notification: Performance of SimCode: time 0.007219/0.3739, allocations: 5.728 MB / 0.5238 GB, free: 13.72 MB / 462.1 MB Notification: Performance of Templates: time 0.2247/0.5986, allocations: 35.46 MB / 0.5585 GB, free: 118.1 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1)