Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.397/1.397, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 55.86 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09925, allocations: 53.32 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005179/0.1044, allocations: 3.772 MB / 430.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1061, allocations: 0.9972 MB / 431.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.1063, allocations: 15.88 kB / 431.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.1065, allocations: 83.22 kB / 431.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.1068, allocations: 146.6 kB / 432 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.1072, allocations: 179.7 kB / 432.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006556/0.1079, allocations: 0.607 MB / 432.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.1082, allocations: 160.1 kB / 433 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.1085, allocations: 243.1 kB / 433.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.1088, allocations: 250.9 kB / 433.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.1089, allocations: 56 kB / 433.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.109, allocations: 64 kB / 433.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1091, allocations: 119.5 kB / 433.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.1094, allocations: 278.6 kB / 434 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006728/0.1101, allocations: 0.642 MB / 434.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1101, allocations: 4 kB / 434.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1101, allocations: 0 / 434.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.1101, allocations: 0 / 434.6 MB, free: 13.15 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001382/0.1115, allocations: 0.8188 MB / 435.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1115, allocations: 8.031 kB / 435.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.281e-05/0.1115, allocations: 9.188 kB / 435.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.722e-05/0.1116, allocations: 86.64 kB / 435.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.1118, allocations: 68.59 kB / 435.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.1123, allocations: 377 kB / 436 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.1124, allocations: 37.38 kB / 436 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.1124, allocations: 47.92 kB / 436.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007546/0.1132, allocations: 457.5 kB / 436.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1132, allocations: 0 / 436.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.1132, allocations: 16 kB / 436.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1133, allocations: 16 kB / 436.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.1139, allocations: 319.8 kB / 436.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.1164, allocations: 1.856 MB / 438.7 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.1171, allocations: 0.5701 MB / 439.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.1177, allocations: 249.4 kB / 439.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1177, allocations: 4.328 kB / 439.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.1182, allocations: 277.1 kB / 439.8 MB, free: 7.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.442e-06/0.1182, allocations: 0 / 439.8 MB, free: 7.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002267/0.1205, allocations: 0.8229 MB / 440.6 MB, free: 6.812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.1205, allocations: 97.05 kB / 440.7 MB, free: 6.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.1209, allocations: 324.5 kB / 441 MB, free: 6.379 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.1209, allocations: 33.7 kB / 441.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.1211, allocations: 232.6 kB / 441.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.1212, allocations: 146.8 kB / 441.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1214, allocations: 90.2 kB / 441.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1215, allocations: 346.8 kB / 441.9 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.1218, allocations: 121.1 kB / 442 MB, free: 5.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.1221, allocations: 253 kB / 442.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.1227, allocations: 378.9 kB / 442.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1227, allocations: 0 / 442.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008693/0.1235, allocations: 0.5049 MB / 443.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1236, allocations: 13.97 kB / 443.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.1236, allocations: 4 kB / 443.1 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/0.124, allocations: 149.2 kB / 443.3 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.1243, allocations: 63.91 kB / 443.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.1273, allocations: 2.545 MB / 445.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.1275, allocations: 51.7 kB / 445.9 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.1276, allocations: 16 kB / 445.9 MB, free: 1.195 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.1278, allocations: 174.5 kB / 446.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.1278, allocations: 43.7 kB / 446.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1279, allocations: 48.41 kB / 446.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1279, allocations: 11.94 kB / 446.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1279, allocations: 3.984 kB / 446.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1279, allocations: 0 / 446.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2142/0.3422, allocations: 1.012 MB / 447.2 MB, free: 24.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.3422, allocations: 1.188 kB / 447.2 MB, free: 24.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.3425, allocations: 36.78 kB / 447.3 MB, free: 24.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006397/0.3431, allocations: 146.5 kB / 447.4 MB, free: 24.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.3432, allocations: 7.438 kB / 447.4 MB, free: 24.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/0.3467, allocations: 2.535 MB / 449.9 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3467, allocations: 1.844 kB / 449.9 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.3482, allocations: 0.7054 MB / 450.7 MB, free: 22.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.3484, allocations: 159.2 kB / 450.8 MB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.3485, allocations: 7.219 kB / 450.8 MB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.3489, allocations: 21.25 kB / 450.8 MB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.349, allocations: 34.89 kB / 450.9 MB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.3491, allocations: 16.19 kB / 450.9 MB, free: 22.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.3493, allocations: 224.6 kB / 451.1 MB, free: 22.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3493, allocations: 0 / 451.1 MB, free: 22.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000857/0.3502, allocations: 150.3 kB / 451.3 MB, free: 22.36 MB / 366.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.3514, allocations: 1.274 MB / 452.5 MB, free: 21.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008774/0.3522, allocations: 0.5158 MB / 453 MB, free: 21.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3522, allocations: 1.219 kB / 453 MB, free: 21.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.3527, allocations: 359.9 kB / 453.4 MB, free: 20.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.3532, allocations: 87.42 kB / 453.5 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.3578, allocations: 3.997 MB / 457.5 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3581, allocations: 0.8286 MB / 458.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.3583, allocations: 41.17 kB / 458.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.3584, allocations: 144.4 kB / 458.5 MB, free: 17.66 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3584, allocations: 2.156 kB / 458.5 MB, free: 17.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.3938, allocations: 11.08 MB / 469.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.57, allocations: 3.516 kB / 469.6 MB, free: 15.31 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.915504213015083] 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'] 12.723658344009891 12.735637164 12.623095444 Calling exit ...