Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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.001734/0.001734, allocations: 113 kB / 18.49 MB, free: 4.598 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.002261/0.002261, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.446/1.446, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 55.94 kB / 373.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1075, allocations: 53.33 MB / 427.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005684/0.1132, allocations: 4.293 MB / 431.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2276/0.3409, allocations: 1.011 MB / 432.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.3412, allocations: 12.19 kB / 432.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.3415, allocations: 102.8 kB / 432.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.342, allocations: 198.6 kB / 432.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.3424, allocations: 186.5 kB / 432.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006947/0.3431, allocations: 0.7352 MB / 433.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.3433, allocations: 162 kB / 433.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.3437, allocations: 299.4 kB / 434 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.344, allocations: 325.9 kB / 434.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.3441, allocations: 61.31 kB / 434.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.3442, allocations: 64.59 kB / 434.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.3444, allocations: 151 kB / 434.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.3446, allocations: 331.2 kB / 434.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.3453, allocations: 0.7236 MB / 435.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3453, allocations: 0 / 435.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3453, allocations: 3.094 kB / 435.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3453, allocations: 0.7969 kB / 435.7 MB, free: 6.973 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001377/0.3467, allocations: 0.9337 MB / 436.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3467, allocations: 9.844 kB / 436.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.736e-05/0.3468, allocations: 22.16 kB / 436.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.3469, allocations: 121.8 kB / 436.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.3473, allocations: 103.6 kB / 436.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.3478, allocations: 412.6 kB / 437.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.3478, allocations: 43.69 kB / 437.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.954e-05/0.3479, allocations: 62.25 kB / 437.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.3489, allocations: 0.6079 MB / 438 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.3489, allocations: 2 kB / 438 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.3489, allocations: 25 kB / 438 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.3489, allocations: 15.36 kB / 438 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008677/0.3498, allocations: 495.9 kB / 438.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.3526, allocations: 2.205 MB / 440.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.3535, allocations: 0.6614 MB / 441.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.3541, allocations: 410.8 kB / 441.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.3541, allocations: 7.688 kB / 441.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.3541, allocations: 39.28 kB / 441.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.096e-06/0.3541, allocations: 0.7969 kB / 441.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.007531/0.3617, allocations: 3.518 MB / 445.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.3617, allocations: 67.81 kB / 445.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.3621, allocations: 365.2 kB / 445.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.3621, allocations: 41.27 kB / 445.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3623, allocations: 241.7 kB / 446 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.3625, allocations: 372.7 kB / 446.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.3627, allocations: 144.2 kB / 446.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3628, allocations: 371.3 kB / 446.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.3633, allocations: 295.2 kB / 447.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.3639, allocations: 368.1 kB / 447.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.3649, allocations: 0.67 MB / 448.2 MB, free: 196 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3649, allocations: 1.25 kB / 448.2 MB, free: 196 kB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002048/0.367, allocations: 1.117 MB / 449.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.367, allocations: 8.766 kB / 449.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.367, allocations: 1.188 kB / 449.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.3682, allocations: 427.6 kB / 449.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.3687, allocations: 95.75 kB / 449.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.3815, allocations: 13.07 MB / 462.9 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/0.3821, allocations: 26.75 kB / 462.9 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.3822, allocations: 28.08 kB / 463 MB, free: 3.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (2,5,100.0%), (2,5,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003852/0.3826, allocations: 199.2 kB / 463.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.3827, allocations: 68.48 kB / 463.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.3829, allocations: 89.8 kB / 463.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.383, allocations: 17.91 kB / 463.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.76e-05/0.383, allocations: 7.047 kB / 463.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.383, allocations: 5.703 kB / 463.4 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/0.3869, allocations: 2.13 MB / 465.5 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.3869, allocations: 4.609 kB / 465.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.3873, allocations: 90.05 kB / 465.6 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.3886, allocations: 493.5 kB / 466.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.3887, allocations: 16.38 kB / 466.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/0.4005, allocations: 10.89 MB / 477 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4005, allocations: 64 / 477 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.4037, allocations: 1.717 MB / 478.7 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.4041, allocations: 200.8 kB / 478.9 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.4042, allocations: 24.48 kB / 478.9 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.4045, allocations: 24.31 kB / 478.9 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/0.4048, allocations: 95.05 kB / 479 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.4049, allocations: 28.81 kB / 479 MB, free: 7.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003711/0.4053, allocations: 265.8 kB / 479.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4053, allocations: 0 / 479.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001824/0.4071, allocations: 263.7 kB / 479.6 MB, free: 7.066 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 ($outputAlias_iAC[2],$outputAlias_iAC[3],$outputAlias_uAC[3],$outputAlias_Losses) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (2,5,100.0%), (2,5,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003565/0.4106, allocations: 2.277 MB / 481.8 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002889/0.4135, allocations: 1.762 MB / 483.6 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4135, allocations: 0 / 483.6 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.4155, allocations: 1.275 MB / 484.9 MB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.4161, allocations: 105.2 kB / 485 MB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.4269, allocations: 6.717 MB / 491.7 MB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.4276, allocations: 0.9436 MB / 492.6 MB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003014/0.4279, allocations: 89.61 kB / 492.7 MB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.4282, allocations: 219.4 kB / 492.9 MB, free: 11.36 MB / 398.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4282, allocations: 4 kB / 492.9 MB, free: 11.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06168/0.4899, allocations: 19.11 MB / 0.5 GB, free: 8.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.43, allocations: 11.06 kB / 0.5001 GB, free: 8.465 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.8650000320049] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 13.592215477023274 13.607513003 13.259251169 Calling exit ...