Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001101/0.001101, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.172/1.172, allocations: 194.5 MB / 211.6 MB, free: 3.035 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.001639, allocations: 114.8 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07802/0.07831, allocations: 44.5 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.3162, allocations: 82.33 MB / 437.4 MB, free: 7.293 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.3165, allocations: 87.33 kB / 437.5 MB, free: 7.246 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04851/0.365, allocations: 22.21 MB / 459.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.365, allocations: 4 kB / 459.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.246e-05/0.3651, allocations: 24 kB / 459.7 MB, free: 3.422 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002162/0.3672, allocations: 1.208 MB / 460.9 MB, free: 2.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3673, allocations: 12.03 kB / 460.9 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.3692, allocations: 378.2 kB / 461.3 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.3699, allocations: 0.5218 MB / 461.8 MB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.37, allocations: 78.02 kB / 461.9 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.3701, allocations: 105.4 kB / 462 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.3718, allocations: 1.041 MB / 463.1 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.3718, allocations: 11.8 kB / 463.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.3719, allocations: 47.94 kB / 463.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.3719, allocations: 24 kB / 463.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.3735, allocations: 0.9331 MB / 464.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004978/0.3785, allocations: 3.77 MB / 467.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.3809, allocations: 2.488 MB / 470.3 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-05/0.381, allocations: 89.75 kB / 470.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007969/0.3818, allocations: 0.5008 MB / 470.9 MB, free: 7.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=86): time 2.305e-06/0.3818, allocations: 0 / 470.9 MB, free: 7.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.004/0.3858, allocations: 1.688 MB / 472.6 MB, free: 5.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.3859, allocations: 197 kB / 472.8 MB, free: 5.508 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.3863, allocations: 409.1 kB / 473.2 MB, free: 5.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.3864, allocations: 45.7 kB / 473.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.3867, allocations: 433.4 kB / 473.7 MB, free: 4.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.3869, allocations: 280 kB / 473.9 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.3869, allocations: 16 kB / 473.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3871, allocations: 374.8 kB / 474.3 MB, free: 3.953 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.3876, allocations: 289.8 kB / 474.6 MB, free: 3.672 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/0.3883, allocations: 0.5239 MB / 475.1 MB, free: 3.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.3889, allocations: 347 kB / 475.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.3889, allocations: 4 kB / 475.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001894/0.3908, allocations: 1.1 MB / 476.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3908, allocations: 11.98 kB / 476.6 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3908, allocations: 8 kB / 476.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007962/0.3916, allocations: 271.7 kB / 476.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.3922, allocations: 163.7 kB / 477 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004805/0.397, allocations: 4.48 MB / 481.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.3976, allocations: 107.2 kB / 481.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.3977, allocations: 36 kB / 481.6 MB, free: 12.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003453/0.398, allocations: 253.6 kB / 481.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3982, allocations: 75.11 kB / 481.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.4001, allocations: 0.9986 MB / 482.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4001, allocations: 15.94 kB / 483 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.4001, allocations: 0 / 483 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.4001, allocations: 6.797 kB / 483 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.403, allocations: 1.972 MB / 484.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.403, allocations: 0 / 484.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.4035, allocations: 107.9 kB / 485 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007022/0.4042, allocations: 264.7 kB / 485.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.4043, allocations: 19.98 kB / 485.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004425/0.4087, allocations: 4.447 MB / 489.8 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4087, allocations: 0 / 489.8 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.411, allocations: 1.423 MB / 491.2 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.4113, allocations: 220 kB / 491.4 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.4114, allocations: 20 kB / 491.4 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.4118, allocations: 54.22 kB / 491.5 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4119, allocations: 72.83 kB / 491.6 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.412, allocations: 25.12 kB / 491.6 MB, free: 1.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003176/0.4123, allocations: 314.9 kB / 491.9 MB, free: 1.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4123, allocations: 0 / 491.9 MB, free: 1.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009391/0.4133, allocations: 327.2 kB / 492.2 MB, free: 1.281 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (currentSensorQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/0.4135, allocations: 163.1 kB / 492.4 MB, free: 1.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.4153, allocations: 1.118 MB / 493.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4153, allocations: 5.312 kB / 493.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4163, allocations: 0.7627 MB / 494.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.4168, allocations: 101.4 kB / 494.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.421, allocations: 2.51 MB / 496.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.4216, allocations: 1.01 MB / 497.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.4219, allocations: 85.56 kB / 498 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.422, allocations: 47.44 kB / 498 MB, free: 11.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.422, allocations: 0 / 498 MB, free: 11.38 MB / 378.7 MB Notification: Performance of Templates: time 0.01659/0.4386, allocations: 11.15 MB / 0.4972 GB, free: 260 kB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1)