Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009567/0.0009569, allocations: 181.7 kB / 13.64 MB, free: 1.676 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.438/1.438, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.00164/0.00164, allocations: 124.6 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.846e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08174, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3188/0.4006, allocations: 74.66 MB / 424.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001687/0.4008, allocations: 70.25 kB / 424.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01987/0.4207, allocations: 8.773 MB / 432.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4207, allocations: 1.641 kB / 432.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.4208, allocations: 15.53 kB / 433 MB, free: 7.699 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001041/0.4218, allocations: 0.751 MB / 433.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4219, allocations: 7.656 kB / 433.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.422, allocations: 73.44 kB / 433.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.4224, allocations: 368.8 kB / 434.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.4225, allocations: 41.69 kB / 434.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/0.4226, allocations: 51.81 kB / 434.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.4233, allocations: 0.5082 MB / 434.7 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.4233, allocations: 7.922 kB / 434.8 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.4234, allocations: 17.41 kB / 434.8 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4234, allocations: 19.45 kB / 434.8 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000587/0.424, allocations: 406.6 kB / 435.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.4263, allocations: 2.07 MB / 437.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.4269, allocations: 0.6082 MB / 437.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.4273, allocations: 389 kB / 438.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.4274, allocations: 8.25 kB / 438.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.4274, allocations: 42.58 kB / 438.3 MB, free: 5.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 2.164e-06/0.4274, allocations: 0 / 438.3 MB, free: 5.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.001708/0.4291, allocations: 1.252 MB / 439.5 MB, free: 4.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.4292, allocations: 63.78 kB / 439.6 MB, free: 4.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.4295, allocations: 304.4 kB / 439.9 MB, free: 4.449 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.4295, allocations: 39.23 kB / 439.9 MB, free: 4.418 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.939e-05/0.4296, allocations: 229.6 kB / 440.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.482e-05/0.4297, allocations: 201 kB / 440.4 MB, free: 4.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.4297, allocations: 13.47 kB / 440.4 MB, free: 4.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.4298, allocations: 354 kB / 440.7 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.43, allocations: 152.1 kB / 440.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.4303, allocations: 194.2 kB / 441.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.4305, allocations: 163.2 kB / 441.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4305, allocations: 0 / 441.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008838/0.4314, allocations: 0.6286 MB / 441.8 MB, free: 3.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4314, allocations: 7.719 kB / 441.9 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4314, allocations: 0 / 441.9 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.432, allocations: 243.4 kB / 442.1 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.4323, allocations: 70.02 kB / 442.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.4373, allocations: 6.762 MB / 448.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.4376, allocations: 23.67 kB / 448.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.4376, allocations: 15.25 kB / 449 MB, free: 13.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.4378, allocations: 135.6 kB / 449.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-05/0.4379, allocations: 51.44 kB / 449.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.438, allocations: 61.83 kB / 449.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.438, allocations: 8 kB / 449.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.438, allocations: 4 kB / 449.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.438, allocations: 3.984 kB / 449.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.4398, allocations: 1.312 MB / 450.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4399, allocations: 0 / 450.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.4401, allocations: 59.89 kB / 450.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006169/0.4408, allocations: 249.5 kB / 450.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.4408, allocations: 17.56 kB / 450.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005723/0.4465, allocations: 6.762 MB / 457.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.4466, allocations: 0 / 457.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.448, allocations: 0.9688 MB / 458.6 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.4482, allocations: 155.3 kB / 458.7 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.4483, allocations: 22.5 kB / 458.8 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.4486, allocations: 18.23 kB / 458.8 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.4487, allocations: 55.55 kB / 458.8 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.4488, allocations: 11.88 kB / 458.8 MB, free: 4.383 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002901/0.4491, allocations: 253 kB / 459.1 MB, free: 4.188 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4491, allocations: 0 / 459.1 MB, free: 4.188 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008546/0.4499, allocations: 172 kB / 459.3 MB, free: 4.039 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001948/0.4501, allocations: 121.5 kB / 459.4 MB, free: 3.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.4515, allocations: 0.988 MB / 460.4 MB, free: 3.062 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4515, allocations: 0 / 460.4 MB, free: 3.062 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009725/0.4525, allocations: 0.8175 MB / 461.2 MB, free: 2.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.4529, allocations: 81.5 kB / 461.3 MB, free: 2.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.4547, allocations: 0.9879 MB / 462.2 MB, free: 1.355 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.4553, allocations: 0.8868 MB / 463.1 MB, free: 452 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000176/0.4554, allocations: 48.55 kB / 463.2 MB, free: 404 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.4555, allocations: 34.55 kB / 463.2 MB, free: 372 kB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4555, allocations: 0 / 463.2 MB, free: 372 kB / 314.7 MB Notification: Performance of Templates: time 0.01304/0.4686, allocations: 7.868 MB / 471.1 MB, free: 8.512 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)