Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.InvertersApartRecord,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.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,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.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 116.1 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.236, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01345/0.2495, allocations: 14.7 MB / 424.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02178/0.2713, allocations: 20.72 MB / 445.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.2733, allocations: 87.25 kB / 445.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.2761, allocations: 1.222 MB / 446.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005858/0.282, allocations: 2.301 MB / 449 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.2857, allocations: 1.447 MB / 450.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008794/0.2945, allocations: 6.555 MB / 457 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007186/0.2952, allocations: 457.1 kB / 457.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.2967, allocations: 1.112 MB / 458.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.2978, allocations: 1.11 MB / 459.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.298, allocations: 76 kB / 459.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/0.3015, allocations: 1.475 MB / 461.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.3018, allocations: 329.6 kB / 461.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.303, allocations: 1.37 MB / 462.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.3072, allocations: 3.771 MB / 466.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3072, allocations: 0 / 466.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3072, allocations: 3.938 kB / 466.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.3073, allocations: 4 kB / 466.7 MB, free: 8.605 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.005016/0.3123, allocations: 3.677 MB / 470.3 MB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3123, allocations: 12.03 kB / 470.3 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/0.3127, allocations: 395.2 kB / 470.7 MB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.316, allocations: 2.414 MB / 473.1 MB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.3161, allocations: 36.98 kB / 473.2 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.3162, allocations: 55.98 kB / 473.2 MB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.3175, allocations: 0.7343 MB / 474 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3175, allocations: 0 / 474 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.3176, allocations: 16 kB / 474 MB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.3177, allocations: 23.98 kB / 474 MB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.3192, allocations: 0.8124 MB / 474.8 MB, free: 280 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/0.324, allocations: 3.051 MB / 477.9 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.3251, allocations: 0.5712 MB / 478.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009814/0.3261, allocations: 0.6515 MB / 479.1 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02796/0.3541, allocations: 30.75 MB / 0.4979 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007083/0.3548, allocations: 361.7 kB / 0.4982 GB, free: 8.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.735e-06/0.3548, allocations: 0 / 0.4982 GB, free: 8.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.002089/0.3569, allocations: 1.093 MB / 0.4993 GB, free: 7.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.357, allocations: 59.39 kB / 0.4994 GB, free: 7.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/0.3602, allocations: 2.935 MB / 0.5022 GB, free: 4.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.3602, allocations: 37.69 kB / 0.5023 GB, free: 4.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.3614, allocations: 1.486 MB / 0.5037 GB, free: 2.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.3616, allocations: 161.7 kB / 0.5039 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.3619, allocations: 230.1 kB / 0.5041 GB, free: 2.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.362, allocations: 338 kB / 0.5044 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/0.3626, allocations: 245.8 kB / 0.5046 GB, free: 1.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007962/0.3634, allocations: 0.5981 MB / 0.5052 GB, free: 1.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.3647, allocations: 0.8935 MB / 0.5061 GB, free: 68 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3648, allocations: 4 kB / 0.5061 GB, free: 64 kB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001923/0.3667, allocations: 1.234 MB / 0.5073 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3667, allocations: 15.06 kB / 0.5073 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.3668, allocations: 80 kB / 0.5074 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.3669, allocations: 24.03 kB / 0.5074 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.3676, allocations: 203.6 kB / 0.5076 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.693e-05/0.3676, allocations: 27.91 kB / 0.5076 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000842/0.3685, allocations: 110.9 kB / 0.5077 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.3686, allocations: 68 kB / 0.5078 GB, free: 14.31 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.0005916/0.3692, allocations: 445.3 kB / 0.5082 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.3695, allocations: 375.4 kB / 0.5086 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.3719, allocations: 1.194 MB / 0.5098 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3719, allocations: 4 kB / 0.5098 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-05/0.372, allocations: 71.98 kB / 0.5098 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007764/0.3728, allocations: 480.2 kB / 0.5103 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.3731, allocations: 4 kB / 0.5103 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/0.3737, allocations: 31.95 kB / 0.5103 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.3739, allocations: 59.89 kB / 0.5104 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00161/0.3755, allocations: 0.6842 MB / 0.511 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002088/0.3776, allocations: 1.345 MB / 0.5124 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005209/0.3781, allocations: 245.5 kB / 0.5126 GB, free: 9.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00218/0.3803, allocations: 1.907 MB / 0.5145 GB, free: 7.418 MB / 446.1 MB Notification: Performance of Backend: time 6.01e-07/0.3803, allocations: 0 / 0.5145 GB, free: 7.418 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002862/0.3832, allocations: 1.491 MB / 0.5159 GB, free: 5.898 MB / 446.1 MB Notification: Performance of SimCode: time 0.006741/0.3899, allocations: 5.393 MB / 0.5212 GB, free: 432 kB / 446.1 MB Notification: Performance of Templates: time 0.2263/0.6163, allocations: 34.65 MB / 0.555 GB, free: 122 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1)