Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 109.1 kB / 21.22 MB, free: 0.7461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 215.7 kB / 24.53 MB, free: 4.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.5 MB / 258.2 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.88 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2526, allocations: 53.4 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005275/0.2579, allocations: 3.521 MB / 435.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2597, allocations: 0.9463 MB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.2599, allocations: 7.938 kB / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.2602, allocations: 71.3 kB / 436.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.2605, allocations: 134.8 kB / 436.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.2609, allocations: 155.8 kB / 436.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.2615, allocations: 0.5291 MB / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.2618, allocations: 119.3 kB / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.2621, allocations: 219.1 kB / 437.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.2624, allocations: 215 kB / 437.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.2625, allocations: 44 kB / 437.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.2626, allocations: 56 kB / 438 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2627, allocations: 111.5 kB / 438.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.2629, allocations: 230.8 kB / 438.3 MB, free: 352 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.2636, allocations: 0.5479 MB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2636, allocations: 0 / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2636, allocations: 0 / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.2636, allocations: 0 / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001445/0.265, allocations: 0.7816 MB / 439.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.2651, allocations: 12.03 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.15e-05/0.2651, allocations: 13.19 kB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.78e-05/0.2652, allocations: 70.72 kB / 439.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.2655, allocations: 72.58 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.2659, allocations: 295.3 kB / 440.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.266, allocations: 29.38 kB / 440.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.2661, allocations: 44.11 kB / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.2668, allocations: 399.8 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2668, allocations: 0 / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.2668, allocations: 16 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.2668, allocations: 8 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.2674, allocations: 259.8 kB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.2698, allocations: 1.461 MB / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.2702, allocations: 227.3 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.2706, allocations: 157.2 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.2706, allocations: 4.234 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004163/0.271, allocations: 226 kB / 442.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.392e-06/0.271, allocations: 0 / 442.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001492/0.2725, allocations: 0.5034 MB / 443.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.2726, allocations: 106.8 kB / 443.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.273, allocations: 308.5 kB / 443.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.273, allocations: 37.7 kB / 443.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.2732, allocations: 220.7 kB / 444.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.816e-05/0.2733, allocations: 107.1 kB / 444.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.2734, allocations: 70.06 kB / 444.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2736, allocations: 346.8 kB / 444.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2738, allocations: 92.7 kB / 444.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.2741, allocations: 228.3 kB / 444.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.2746, allocations: 330.1 kB / 445.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.2746, allocations: 3.984 kB / 445.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007307/0.2753, allocations: 413.6 kB / 445.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2754, allocations: 8 kB / 445.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2754, allocations: 4 kB / 445.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.2757, allocations: 89.25 kB / 445.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.2759, allocations: 55.91 kB / 445.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.2781, allocations: 1.899 MB / 447.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.2783, allocations: 39.77 kB / 447.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.2784, allocations: 15.94 kB / 447.7 MB, free: 6.414 MB / 350.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.off,rectifier.diode_n.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.0002662/0.2786, allocations: 189.2 kB / 447.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.2787, allocations: 35.77 kB / 447.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.944e-05/0.2788, allocations: 39.95 kB / 448 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2788, allocations: 4 kB / 448 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2788, allocations: 4 kB / 448 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2788, allocations: 0 / 448 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/0.2795, allocations: 0.545 MB / 448.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2795, allocations: 4.031 kB / 448.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.2797, allocations: 31.98 kB / 448.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/0.2799, allocations: 80.73 kB / 448.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.28, allocations: 8 kB / 448.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.282, allocations: 1.891 MB / 450.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.282, allocations: 0 / 450.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.283, allocations: 0.5033 MB / 451.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.2831, allocations: 59.7 kB / 451.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.2832, allocations: 8 kB / 451.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.2833, allocations: 19.98 kB / 451.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.2834, allocations: 27.95 kB / 451.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.2835, allocations: 11.98 kB / 451.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.2837, allocations: 211.1 kB / 451.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2837, allocations: 192 / 451.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000499/0.2842, allocations: 119.8 kB / 451.5 MB, free: 2.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * 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.001308/0.2855, allocations: 1.056 MB / 452.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008215/0.2863, allocations: 406.9 kB / 453 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2863, allocations: 0 / 453 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.2867, allocations: 283.5 kB / 453.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.2871, allocations: 57.06 kB / 453.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.292, allocations: 3.478 MB / 456.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.2925, allocations: 0.8074 MB / 457.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.2926, allocations: 42.94 kB / 457.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.2928, allocations: 127.4 kB / 457.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2928, allocations: 0 / 457.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.3287, allocations: 8.786 MB / 466.5 MB, free: 3.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.41, allocations: 16 kB / 466.5 MB, free: 3.309 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.909378267009743] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanCurrent.x', 'meanVoltage.x', 'rootMeanSquareVoltage.mean.x', 'meanCurrent.y', 'meanVoltage.y', 'rootMeanSquareVoltage.mean.y'] 13.584938140993472 13.614903231 13.34593237 Calling exit ...