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.01019/0.01019, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001635/0.001635, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.761/1.761, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.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.001284/0.001284, allocations: 47.28 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1332, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005221/0.1385, allocations: 3.39 MB / 376.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1402, allocations: 0.8963 MB / 377.5 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1405, allocations: 7.938 kB / 377.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1408, allocations: 67.3 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.1411, allocations: 122.9 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1414, allocations: 131.8 kB / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005664/0.142, allocations: 0.5056 MB / 378.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.1424, allocations: 177.8 kB / 378.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.1426, allocations: 195.2 kB / 378.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.143, allocations: 211.1 kB / 378.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.469e-05/0.143, allocations: 48 kB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.1431, allocations: 44 kB / 379 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1432, allocations: 95.62 kB / 379.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.1434, allocations: 226.8 kB / 379.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.1439, allocations: 0.5217 MB / 379.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.144, allocations: 4 kB / 379.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.144, allocations: 0 / 379.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.144, allocations: 3.938 kB / 379.8 MB, free: 10.66 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.001398/0.1454, allocations: 0.7144 MB / 380.5 MB, free: 9.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1454, allocations: 12.03 kB / 380.5 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.1456, allocations: 48.38 kB / 380.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.146, allocations: 340.3 kB / 380.9 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.1461, allocations: 29.38 kB / 380.9 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.1462, allocations: 36.38 kB / 381 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.1469, allocations: 387.3 kB / 381.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.1469, allocations: 7.875 kB / 381.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.147, allocations: 16 kB / 381.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.147, allocations: 8 kB / 381.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.1475, allocations: 250.5 kB / 381.6 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.1496, allocations: 1.475 MB / 383.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.1501, allocations: 235.5 kB / 383.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.1505, allocations: 165.2 kB / 383.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.1506, allocations: 8.219 kB / 383.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.151, allocations: 237.8 kB / 383.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.151, allocations: 0 / 383.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001613/0.1526, allocations: 0.581 MB / 384.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/0.1527, allocations: 110.8 kB / 384.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.153, allocations: 288.6 kB / 384.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.1531, allocations: 37.7 kB / 384.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1532, allocations: 208.4 kB / 384.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/0.1533, allocations: 98.55 kB / 385 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.1535, allocations: 74.06 kB / 385.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1536, allocations: 346.8 kB / 385.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.1538, allocations: 92.7 kB / 385.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.1541, allocations: 225.5 kB / 385.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.1546, allocations: 323.1 kB / 386.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1546, allocations: 0 / 386.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007024/0.1553, allocations: 409.5 kB / 386.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1554, allocations: 8 kB / 386.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1554, allocations: 4 kB / 386.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.1557, allocations: 89.25 kB / 386.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.156, allocations: 55.91 kB / 386.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.1581, allocations: 2.01 MB / 388.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.1584, allocations: 39.67 kB / 388.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.1584, allocations: 16 kB / 388.7 MB, free: 1.164 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.0002374/0.1586, allocations: 165.8 kB / 388.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.1587, allocations: 43.5 kB / 388.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.4e-05/0.1588, allocations: 35.09 kB / 388.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1588, allocations: 4 kB / 388.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1588, allocations: 4 kB / 388.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1588, allocations: 3.984 kB / 388.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.1595, allocations: 0.5692 MB / 389.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1595, allocations: 0 / 389.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.1597, allocations: 27.98 kB / 389.5 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.1599, allocations: 76.8 kB / 389.6 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.16, allocations: 12 kB / 389.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.1618, allocations: 1.991 MB / 391.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1618, allocations: 4.031 kB / 391.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008901/0.1627, allocations: 498.7 kB / 392.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1629, allocations: 140.7 kB / 392.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.1629, allocations: 15.92 kB / 392.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.1631, allocations: 12 kB / 392.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.1632, allocations: 27.95 kB / 392.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.1632, allocations: 8 kB / 392.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.1635, allocations: 211.1 kB / 392.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1635, allocations: 0 / 392.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004947/0.164, allocations: 111.7 kB / 392.6 MB, free: 12.97 MB / 334.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.0001954/0.1642, allocations: 115.3 kB / 392.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008368/0.165, allocations: 418.8 kB / 393.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.165, allocations: 4.312 kB / 393.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.1655, allocations: 283.4 kB / 393.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1659, allocations: 52.62 kB / 393.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.1673, allocations: 0.7116 MB / 394.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.1678, allocations: 0.7951 MB / 395 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.1679, allocations: 39.05 kB / 395 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.168, allocations: 27.38 kB / 395.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.168, allocations: 4 kB / 395.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Templates: time 0.01003/0.178, allocations: 4.813 MB / 399.9 MB, free: 5.637 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)