Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001257/0.001257, allocations: 183 kB / 18.66 MB, free: 4.418 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.351/1.351, allocations: 205.1 MB / 224.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.001239/0.001239, allocations: 51.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08492, allocations: 46.61 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004585/0.08954, allocations: 3.405 MB / 378.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.09136, allocations: 0.8808 MB / 378.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.0917, allocations: 11.94 kB / 378.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.09202, allocations: 59.36 kB / 379 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.09246, allocations: 134.8 kB / 379.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.09282, allocations: 131.8 kB / 379.3 MB, free: 440 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1622/0.2551, allocations: 0.5041 MB / 379.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.2555, allocations: 173.8 kB / 379.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/0.256, allocations: 199.8 kB / 380.1 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.2565, allocations: 210.6 kB / 380.3 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.2566, allocations: 44 kB / 380.4 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.2568, allocations: 45.38 kB / 380.4 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2569, allocations: 98.45 kB / 380.5 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.2572, allocations: 234 kB / 380.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007903/0.258, allocations: 0.5155 MB / 381.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.258, allocations: 0 / 381.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2581, allocations: 1.375 kB / 381.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.785e-05/0.2581, allocations: 0 / 381.3 MB, free: 9.07 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.001823/0.2599, allocations: 0.715 MB / 382 MB, free: 8.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.26, allocations: 16.17 kB / 382 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.2601, allocations: 74.17 kB / 382.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.2603, allocations: 50.42 kB / 382.1 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.2609, allocations: 342.6 kB / 382.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.2609, allocations: 28.41 kB / 382.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/0.261, allocations: 37.03 kB / 382.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008837/0.2619, allocations: 389.8 kB / 382.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.2619, allocations: 1.375 kB / 382.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.262, allocations: 16.39 kB / 382.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.262, allocations: 10.39 kB / 382.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.2626, allocations: 251.2 kB / 383.2 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.2647, allocations: 1.461 MB / 384.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.2652, allocations: 239.7 kB / 384.9 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.2656, allocations: 170.5 kB / 385 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.2656, allocations: 5.141 kB / 385 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000431/0.2661, allocations: 239.5 kB / 385.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/0.2661, allocations: 3.938 kB / 385.3 MB, free: 7.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001558/0.2676, allocations: 0.58 MB / 385.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.2677, allocations: 109.3 kB / 386 MB, free: 6.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.268, allocations: 291.9 kB / 386.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.268, allocations: 37.25 kB / 386.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.2681, allocations: 213 kB / 386.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.2682, allocations: 95.94 kB / 386.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.2683, allocations: 71.42 kB / 386.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.2683, allocations: 344.6 kB / 387 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.2685, allocations: 96.69 kB / 387.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.2688, allocations: 220.2 kB / 387.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.2692, allocations: 327.4 kB / 387.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2692, allocations: 1.156 kB / 387.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000756/0.27, allocations: 413.9 kB / 388 MB, free: 5.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.27, allocations: 7.344 kB / 388 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.2701, allocations: 8.016 kB / 388 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/0.2704, allocations: 87.5 kB / 388.1 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.2707, allocations: 58.69 kB / 388.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.2724, allocations: 1.994 MB / 390.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.2726, allocations: 36.56 kB / 390.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.2727, allocations: 20.56 kB / 390.2 MB, free: 3.605 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.0001784/0.2729, allocations: 172.6 kB / 390.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.2729, allocations: 36.62 kB / 390.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.45e-05/0.273, allocations: 35.19 kB / 390.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.273, allocations: 3.312 kB / 390.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.273, allocations: 1.312 kB / 390.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.273, allocations: 2.016 kB / 390.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.2737, allocations: 0.5679 MB / 391.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2737, allocations: 5.094 kB / 391.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.2739, allocations: 28.38 kB / 391.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/0.2741, allocations: 80.75 kB / 391.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.2741, allocations: 8.359 kB / 391.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.2756, allocations: 1.988 MB / 393.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2756, allocations: 5.094 kB / 393.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.2765, allocations: 0.4964 MB / 393.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.2767, allocations: 135.3 kB / 393.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.2767, allocations: 15.89 kB / 393.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.2769, allocations: 16.64 kB / 393.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.277, allocations: 24.34 kB / 393.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.277, allocations: 12.39 kB / 393.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.2773, allocations: 210.8 kB / 394.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2773, allocations: 0 / 394.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005253/0.2778, allocations: 113.6 kB / 394.2 MB, free: 0.6289 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.001152/0.279, allocations: 1.045 MB / 395.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00081/0.2798, allocations: 414 kB / 395.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2798, allocations: 0 / 395.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.2803, allocations: 291 kB / 395.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.2806, allocations: 55.41 kB / 396 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.2854, allocations: 3.394 MB / 399.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.2859, allocations: 0.8004 MB / 400.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.2861, allocations: 36.5 kB / 400.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.2863, allocations: 124.7 kB / 400.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2863, allocations: 5.188 kB / 400.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.3227, allocations: 8.42 MB / 408.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.84, allocations: 24.83 kB / 408.8 MB, free: 9.328 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)