Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00172/0.00172, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 230.4 MB / 251.1 MB, free: 8.492 MB / 206.1 MB 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.001966/0.001966, allocations: 71.83 kB / 368.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.244, allocations: 53.32 MB / 422.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01606/0.26, allocations: 15.36 MB / 437.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02675/0.2868, allocations: 20.84 MB / 458.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002862/0.2896, allocations: 87.25 kB / 458.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.293, allocations: 1.267 MB / 459.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007361/0.3003, allocations: 2.404 MB / 462.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.3047, allocations: 1.456 MB / 463.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00999/0.3147, allocations: 6.71 MB / 470.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005829/0.3153, allocations: 273.7 kB / 470.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.317, allocations: 1.139 MB / 471.8 MB, free: 6.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.3185, allocations: 1.145 MB / 472.9 MB, free: 4.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.3187, allocations: 72 kB / 473 MB, free: 4.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.3225, allocations: 1.479 MB / 474.5 MB, free: 3.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003571/0.3228, allocations: 333.5 kB / 474.8 MB, free: 3.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.3244, allocations: 1.432 MB / 476.2 MB, free: 1.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005656/0.33, allocations: 4.009 MB / 480.2 MB, free: 13.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.33, allocations: 0 / 480.2 MB, free: 13.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.33, allocations: 0 / 480.2 MB, free: 13.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.049e-05/0.3301, allocations: 3.938 kB / 480.3 MB, free: 13.58 MB / 398.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.006029/0.3361, allocations: 3.964 MB / 484.2 MB, free: 9.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3362, allocations: 12.03 kB / 484.2 MB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005175/0.3367, allocations: 429.3 kB / 484.6 MB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.3403, allocations: 2.499 MB / 487.1 MB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.3403, allocations: 41 kB / 487.2 MB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.3404, allocations: 63.88 kB / 487.2 MB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.3419, allocations: 0.7265 MB / 488 MB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3419, allocations: 3.938 kB / 488 MB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.342, allocations: 16 kB / 488 MB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.342, allocations: 23.92 kB / 488 MB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.3436, allocations: 0.8163 MB / 488.8 MB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/0.349, allocations: 3.11 MB / 491.9 MB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.3501, allocations: 0.5243 MB / 492.5 MB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009688/0.3511, allocations: 0.5657 MB / 493 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0325/0.3836, allocations: 30.75 MB / 0.5115 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008008/0.3844, allocations: 365.6 kB / 0.5119 GB, free: 13.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.255e-06/0.3844, allocations: 7.938 kB / 0.5119 GB, free: 13.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.002314/0.3867, allocations: 1.134 MB / 0.513 GB, free: 12.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.3868, allocations: 55.41 kB / 0.513 GB, free: 11.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.3907, allocations: 3.087 MB / 0.516 GB, free: 8.871 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.3908, allocations: 33.7 kB / 0.5161 GB, free: 8.832 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.3923, allocations: 1.585 MB / 0.5176 GB, free: 7.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.3925, allocations: 174.6 kB / 0.5178 GB, free: 7.066 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.3928, allocations: 230.4 kB / 0.518 GB, free: 6.836 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.393, allocations: 341.9 kB / 0.5183 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/0.3936, allocations: 241.9 kB / 0.5186 GB, free: 6.262 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/0.3945, allocations: 0.5981 MB / 0.5192 GB, free: 5.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.3968, allocations: 0.8974 MB / 0.52 GB, free: 4.418 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.3968, allocations: 11.88 kB / 0.52 GB, free: 4.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002726/0.3996, allocations: 1.263 MB / 0.5213 GB, free: 3.137 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3996, allocations: 8 kB / 0.5213 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.3997, allocations: 83.98 kB / 0.5214 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.3997, allocations: 20 kB / 0.5214 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/0.4005, allocations: 191.6 kB / 0.5216 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.889e-05/0.4005, allocations: 27.92 kB / 0.5216 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009934/0.4015, allocations: 115.4 kB / 0.5217 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.4016, allocations: 71.92 kB / 0.5218 GB, free: 2.629 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.0007754/0.4024, allocations: 449.4 kB / 0.5222 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/0.4028, allocations: 421.3 kB / 0.5226 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.4054, allocations: 1.219 MB / 0.5238 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4055, allocations: 4 kB / 0.5238 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4055, allocations: 0 / 0.5238 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4055, allocations: 0 / 0.5238 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/0.4091, allocations: 2.139 MB / 0.5259 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000102/0.4092, allocations: 71.98 kB / 0.5259 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.4097, allocations: 95.92 kB / 0.526 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.4097, allocations: 4 kB / 0.526 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.4097, allocations: 35.98 kB / 0.5261 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.4097, allocations: 4 kB / 0.5261 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4097, allocations: 0 / 0.5261 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.412, allocations: 1.346 MB / 0.5274 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007781/0.4128, allocations: 0.5061 MB / 0.5279 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.4131, allocations: 8 kB / 0.5279 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/0.4138, allocations: 27.95 kB / 0.5279 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.414, allocations: 63.89 kB / 0.528 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.557e-05/0.414, allocations: 43.98 kB / 0.528 GB, free: 12.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002831/0.4169, allocations: 2.014 MB / 0.53 GB, free: 10.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4169, allocations: 0 / 0.53 GB, free: 10.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001363/0.4182, allocations: 0.593 MB / 0.5306 GB, free: 9.469 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001133/0.4194, allocations: 0.7768 MB / 0.5313 GB, free: 8.688 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.421, allocations: 0.7709 MB / 0.5321 GB, free: 7.891 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.421, allocations: 192 / 0.5321 GB, free: 7.891 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008809/0.4219, allocations: 434.9 kB / 0.5325 GB, free: 7.441 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.4243, allocations: 0.6432 MB / 0.5331 GB, free: 6.793 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/0.431, allocations: 4.598 MB / 0.5376 GB, free: 2.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.4326, allocations: 1.718 MB / 0.5393 GB, free: 412 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001008/0.4336, allocations: 357.3 kB / 0.5396 GB, free: 48 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1813/0.6149, allocations: 151.8 kB / 0.5398 GB, free: 120.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6149, allocations: 0 / 0.5398 GB, free: 120.9 MB / 462.1 MB Notification: Performance of Templates: time 0.04688/0.6617, allocations: 32.51 MB / 0.5715 GB, free: 98.34 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 480]