Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008297/0.008297, allocations: 103.8 kB / 15.74 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 195.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 51.92 kB / 326.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1247, allocations: 46.62 MB / 373.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.006322/0.1311, allocations: 3.397 MB / 376.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1335, allocations: 0.8808 MB / 377.5 MB, free: 228 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000588/0.1341, allocations: 7.938 kB / 377.5 MB, free: 220 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.1346, allocations: 67.36 kB / 377.5 MB, free: 152 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006809/0.1353, allocations: 130.8 kB / 377.7 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3036/0.4388, allocations: 130.7 kB / 377.8 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.4403, allocations: 0.5083 MB / 378.3 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005678/0.4409, allocations: 174 kB / 378.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.4413, allocations: 195.7 kB / 378.7 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.4418, allocations: 216.5 kB / 378.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.4419, allocations: 45.59 kB / 378.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.442, allocations: 43.94 kB / 379 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.4422, allocations: 100.2 kB / 379.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.4425, allocations: 228.6 kB / 379.3 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008268/0.4433, allocations: 0.5173 MB / 379.8 MB, free: 9.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4433, allocations: 0.5938 kB / 379.8 MB, free: 9.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.4433, allocations: 0 / 379.8 MB, free: 9.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4433, allocations: 4.312 kB / 379.8 MB, free: 9.539 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001693/0.445, allocations: 0.7174 MB / 380.5 MB, free: 9.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.4451, allocations: 9.5 kB / 380.5 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.4453, allocations: 50.19 kB / 380.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/0.4459, allocations: 340.4 kB / 380.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.4459, allocations: 27.61 kB / 380.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.892e-05/0.446, allocations: 36.98 kB / 381 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008673/0.4469, allocations: 387.7 kB / 381.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.4469, allocations: 1.5 kB / 381.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.447, allocations: 14.64 kB / 381.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.447, allocations: 8.969 kB / 381.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.4476, allocations: 257.3 kB / 381.6 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.4501, allocations: 1.46 MB / 383.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.4505, allocations: 243.9 kB / 383.3 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.451, allocations: 170 kB / 383.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.451, allocations: 8.703 kB / 383.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.4515, allocations: 232.7 kB / 383.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.895e-06/0.4515, allocations: 1.5 kB / 383.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001798/0.4533, allocations: 0.5819 MB / 384.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.4534, allocations: 111.7 kB / 384.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.4538, allocations: 292.3 kB / 384.7 MB, free: 6.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.4538, allocations: 37.33 kB / 384.7 MB, free: 6.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.454, allocations: 218.7 kB / 385 MB, free: 6.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.4541, allocations: 97.88 kB / 385 MB, free: 6.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.4542, allocations: 67.2 kB / 385.1 MB, free: 6.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4544, allocations: 340.8 kB / 385.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.4546, allocations: 92.03 kB / 385.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.455, allocations: 224.4 kB / 385.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.4555, allocations: 327.7 kB / 386.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4555, allocations: 1.469 kB / 386.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008069/0.4563, allocations: 411.4 kB / 386.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.4563, allocations: 9.281 kB / 386.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4564, allocations: 3.906 kB / 386.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003748/0.4567, allocations: 84.25 kB / 386.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.457, allocations: 58.86 kB / 386.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.4591, allocations: 2.003 MB / 388.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.4595, allocations: 36.52 kB / 388.7 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.4595, allocations: 20.45 kB / 388.7 MB, free: 3.871 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002739/0.4598, allocations: 170.3 kB / 388.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.4599, allocations: 44.44 kB / 388.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.303e-05/0.46, allocations: 39.55 kB / 388.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.46, allocations: 2.75 kB / 388.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.46, allocations: 1.531 kB / 388.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.46, allocations: 1.922 kB / 388.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.4611, allocations: 0.5663 MB / 389.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4611, allocations: 1.062 kB / 389.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.4613, allocations: 28.52 kB / 389.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/0.4616, allocations: 83.88 kB / 389.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.4616, allocations: 7.453 kB / 389.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.4636, allocations: 1.982 MB / 391.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4636, allocations: 1.375 kB / 391.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.4647, allocations: 0.4937 MB / 392.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.4649, allocations: 137.4 kB / 392.2 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.465, allocations: 11.03 kB / 392.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.4652, allocations: 22.7 kB / 392.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.4653, allocations: 29.48 kB / 392.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.4653, allocations: 13.45 kB / 392.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000312/0.4656, allocations: 206.6 kB / 392.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4656, allocations: 0 / 392.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007144/0.4664, allocations: 113.6 kB / 392.6 MB, free: 0.8672 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.4665, allocations: 108.9 kB / 392.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009733/0.4675, allocations: 422 kB / 393.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4675, allocations: 0 / 393.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.468, allocations: 286.8 kB / 393.4 MB, free: 376 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.4684, allocations: 53.55 kB / 393.5 MB, free: 360 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.4703, allocations: 0.7161 MB / 394.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007895/0.4712, allocations: 0.8008 MB / 395 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.4714, allocations: 37.97 kB / 395 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.4715, allocations: 24.56 kB / 395.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4715, allocations: 0 / 395.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Templates: time 0.01819/0.4897, allocations: 4.824 MB / 399.9 MB, free: 14.3 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)