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.001536/0.001536, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001845/0.001845, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2104, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01266/0.2231, allocations: 14.72 MB / 424.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0223/0.2454, allocations: 20.7 MB / 445.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.247, allocations: 95.25 kB / 445.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.2496, allocations: 1.238 MB / 446.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005806/0.2555, allocations: 2.325 MB / 449 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.2599, allocations: 1.447 MB / 450.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008734/0.2687, allocations: 6.559 MB / 457 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006622/0.2694, allocations: 461.1 kB / 457.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.2706, allocations: 1.108 MB / 458.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.2717, allocations: 1.11 MB / 459.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.2719, allocations: 76 kB / 459.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.2756, allocations: 1.471 MB / 461.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.2759, allocations: 333.5 kB / 461.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.277, allocations: 1.37 MB / 462.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.2808, allocations: 3.775 MB / 466.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2808, allocations: 0 / 466.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2809, allocations: 3.938 kB / 466.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.2809, allocations: 0 / 466.7 MB, free: 8.547 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.005071/0.286, allocations: 3.674 MB / 470.4 MB, free: 4.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.286, allocations: 8.031 kB / 470.4 MB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/0.2864, allocations: 399.2 kB / 470.8 MB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.2896, allocations: 2.418 MB / 473.2 MB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.2897, allocations: 37 kB / 473.2 MB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.2898, allocations: 51.98 kB / 473.3 MB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.2912, allocations: 0.7265 MB / 474 MB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2912, allocations: 0 / 474 MB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.2913, allocations: 20 kB / 474 MB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.2913, allocations: 19.98 kB / 474 MB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.2928, allocations: 0.8202 MB / 474.9 MB, free: 224 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.2977, allocations: 3.051 MB / 477.9 MB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.2989, allocations: 0.5829 MB / 478.5 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009832/0.2999, allocations: 0.6476 MB / 479.1 MB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02838/0.3283, allocations: 30.74 MB / 0.4979 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007668/0.3291, allocations: 369.6 kB / 0.4983 GB, free: 8.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.796e-06/0.3291, allocations: 0 / 0.4983 GB, free: 8.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.002299/0.3314, allocations: 1.093 MB / 0.4993 GB, free: 7.367 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.3315, allocations: 63.39 kB / 0.4994 GB, free: 7.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.3351, allocations: 2.927 MB / 0.5023 GB, free: 4.355 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.3352, allocations: 37.7 kB / 0.5023 GB, free: 4.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.3363, allocations: 1.485 MB / 0.5037 GB, free: 2.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.3365, allocations: 165.7 kB / 0.5039 GB, free: 2.652 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.3368, allocations: 230.1 kB / 0.5041 GB, free: 2.422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3369, allocations: 342 kB / 0.5045 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.3375, allocations: 241.8 kB / 0.5047 GB, free: 1.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/0.3383, allocations: 0.5981 MB / 0.5053 GB, free: 1.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.3397, allocations: 0.9013 MB / 0.5061 GB, free: 15.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.944e-06/0.3397, allocations: 4 kB / 0.5061 GB, free: 15.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002089/0.3418, allocations: 1.229 MB / 0.5074 GB, free: 14.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3418, allocations: 15.94 kB / 0.5074 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.3419, allocations: 80 kB / 0.5074 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.342, allocations: 16 kB / 0.5075 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.3427, allocations: 195.7 kB / 0.5076 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.918e-05/0.3427, allocations: 32.17 kB / 0.5077 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009506/0.3437, allocations: 114.9 kB / 0.5078 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.3438, allocations: 68 kB / 0.5078 GB, free: 14.25 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.0006124/0.3444, allocations: 437.3 kB / 0.5083 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.3448, allocations: 383.3 kB / 0.5086 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.3473, allocations: 1.186 MB / 0.5098 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3473, allocations: 4 kB / 0.5098 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.494e-05/0.3474, allocations: 71.98 kB / 0.5099 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/0.3482, allocations: 472.2 kB / 0.5103 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003456/0.3486, allocations: 12 kB / 0.5103 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/0.3493, allocations: 31.95 kB / 0.5104 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.3494, allocations: 63.89 kB / 0.5104 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001665/0.3511, allocations: 0.6802 MB / 0.5111 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002209/0.3533, allocations: 1.341 MB / 0.5124 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005573/0.3539, allocations: 253.5 kB / 0.5126 GB, free: 9.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002301/0.3562, allocations: 1.907 MB / 0.5145 GB, free: 7.359 MB / 446.1 MB Notification: Performance of Backend: time 5.61e-07/0.3562, allocations: 0 / 0.5145 GB, free: 7.359 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002885/0.3591, allocations: 1.486 MB / 0.5159 GB, free: 5.844 MB / 446.1 MB Notification: Performance of SimCode: time 0.007084/0.3662, allocations: 5.394 MB / 0.5212 GB, free: 376 kB / 446.1 MB Notification: Performance of Templates: time 0.221/0.5872, allocations: 34.65 MB / 0.555 GB, free: 121.8 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)