Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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.001435/0.001435, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001571/0.001571, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.507/1.507, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.89 kB / 378.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2512, allocations: 53.42 MB / 431.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007856/0.2591, allocations: 5.581 MB / 437.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004383/0.2635, allocations: 2.122 MB / 439.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006999/0.2642, allocations: 27.88 kB / 439.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.2663, allocations: 0.7033 MB / 440.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.268, allocations: 0.5939 MB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.2692, allocations: 0.526 MB / 441.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.2708, allocations: 1.195 MB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.272, allocations: 0.769 MB / 443.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006487/0.2727, allocations: 490.2 kB / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006964/0.2734, allocations: 0.5367 MB / 444.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.2735, allocations: 112 kB / 444.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005979/0.2741, allocations: 283.8 kB / 444.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.2744, allocations: 251.1 kB / 445.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.2748, allocations: 457.8 kB / 445.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.2766, allocations: 1.494 MB / 447 MB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2766, allocations: 4 kB / 447 MB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2766, allocations: 0 / 447 MB, free: 7.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.2767, allocations: 0 / 447 MB, free: 7.391 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003435/0.2801, allocations: 1.666 MB / 448.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2801, allocations: 8.031 kB / 448.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.026e-05/0.2802, allocations: 30.12 kB / 448.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002437/0.2805, allocations: 170.4 kB / 448.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/0.283, allocations: 399.9 kB / 449.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009489/0.2839, allocations: 0.5211 MB / 449.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/0.284, allocations: 74.39 kB / 449.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.2841, allocations: 104.1 kB / 450 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.2861, allocations: 1.14 MB / 451.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.2862, allocations: 3.953 kB / 451.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.645e-05/0.2863, allocations: 40 kB / 451.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.2863, allocations: 28 kB / 451.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.288, allocations: 0.8589 MB / 452.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005383/0.2934, allocations: 3.163 MB / 455.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.2953, allocations: 0.8594 MB / 456.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008655/0.2961, allocations: 414.2 kB / 456.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/0.2962, allocations: 28.92 kB / 456.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009818/0.2972, allocations: 0.6015 MB / 457.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=88): time 2.685e-06/0.2972, allocations: 3.938 kB / 457.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.007379/0.3046, allocations: 2.646 MB / 459.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.3047, allocations: 196.9 kB / 460 MB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/0.3053, allocations: 482 kB / 460.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/0.3054, allocations: 45.7 kB / 460.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.3057, allocations: 425 kB / 460.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.306, allocations: 357 kB / 461.2 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.3063, allocations: 178.9 kB / 461.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3065, allocations: 382.8 kB / 461.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007219/0.3072, allocations: 330.5 kB / 462.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009734/0.3082, allocations: 0.6656 MB / 462.8 MB, free: 7.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.3098, allocations: 0.8955 MB / 463.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3098, allocations: 0 / 463.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002954/0.3128, allocations: 1.304 MB / 465 MB, free: 4.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.3128, allocations: 11.98 kB / 465 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3128, allocations: 4 kB / 465 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.3143, allocations: 390.2 kB / 465.4 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/0.315, allocations: 159.8 kB / 465.5 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008608/0.3236, allocations: 6.712 MB / 472.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/0.3244, allocations: 63.89 kB / 472.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.3244, allocations: 36 kB / 472.3 MB, free: 13.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004648/0.3249, allocations: 266.4 kB / 472.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.325, allocations: 79.48 kB / 472.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/0.328, allocations: 1.23 MB / 473.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.328, allocations: 12 kB / 473.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.328, allocations: 7.938 kB / 473.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.328, allocations: 7.969 kB / 473.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.3325, allocations: 2.221 MB / 476.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.3325, allocations: 4 kB / 476.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.3331, allocations: 119.8 kB / 476.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.3345, allocations: 386.5 kB / 476.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.3346, allocations: 19.98 kB / 476.7 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008224/0.3428, allocations: 6.385 MB / 483.1 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.3428, allocations: 8.031 kB / 483.1 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003871/0.3467, allocations: 1.754 MB / 484.8 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.3471, allocations: 143.5 kB / 485 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.3472, allocations: 20 kB / 485 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.3478, allocations: 51.95 kB / 485 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.348, allocations: 96.7 kB / 485.1 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.3481, allocations: 39.92 kB / 485.2 MB, free: 15.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000453/0.3485, allocations: 322.9 kB / 485.5 MB, free: 15.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3485, allocations: 4 kB / 485.5 MB, free: 15.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001283/0.3498, allocations: 284 kB / 485.8 MB, free: 15.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,17), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004269/0.3541, allocations: 2.356 MB / 488.1 MB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.3569, allocations: 1.381 MB / 489.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.357, allocations: 192 / 489.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.3587, allocations: 0.9579 MB / 490.5 MB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007473/0.3594, allocations: 133.3 kB / 490.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.3724, allocations: 7.403 MB / 498 MB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.373, allocations: 442.7 kB / 498.4 MB, free: 2.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003743/0.3733, allocations: 90.06 kB / 498.5 MB, free: 1.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.3738, allocations: 335.3 kB / 498.8 MB, free: 1.664 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3738, allocations: 0 / 498.8 MB, free: 1.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06043/0.4343, allocations: 22.86 MB / 0.5095 GB, free: 11.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.08, allocations: 12.05 kB / 0.5095 GB, free: 11.06 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.839108470012434] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageQS.pin_p.reference.gamma', 'iAC.mean1.y', 'iAC.mean2.y', 'iDC2.mean.y'] 15.266555043053813 15.288477284 15.007575152 Calling exit ...