Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001311/0.001311, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001539/0.001539, allocations: 212.4 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 8.07 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-beta.om/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_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 60.77 kB / 378.6 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2934, allocations: 53.38 MB / 431.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008193/0.3016, allocations: 6.339 MB / 438.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.3062, allocations: 2.262 MB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006417/0.3068, allocations: 23.88 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.3088, allocations: 0.7501 MB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.3105, allocations: 0.6172 MB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.3117, allocations: 0.529 MB / 442.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.3133, allocations: 1.195 MB / 443.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.3145, allocations: 0.7728 MB / 444.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007223/0.3152, allocations: 478.3 kB / 444.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007726/0.316, allocations: 0.5406 MB / 445.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.3162, allocations: 111.9 kB / 445.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006079/0.3168, allocations: 287.8 kB / 445.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.317, allocations: 255.1 kB / 446.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.3175, allocations: 0.5442 MB / 446.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.3193, allocations: 1.49 MB / 448.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3194, allocations: 0 / 448.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3194, allocations: 0 / 448.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.744e-05/0.3194, allocations: 0 / 448.1 MB, free: 6.676 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.003515/0.3229, allocations: 1.67 MB / 449.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3229, allocations: 16.03 kB / 449.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002365/0.3232, allocations: 162.3 kB / 449.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/0.3256, allocations: 395.9 kB / 450.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009875/0.3266, allocations: 0.5172 MB / 450.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.3267, allocations: 78.38 kB / 450.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.3268, allocations: 100.4 kB / 451 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.3287, allocations: 1.023 MB / 452.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.3288, allocations: 4 kB / 452.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/0.3289, allocations: 44 kB / 452.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.3289, allocations: 24 kB / 452.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.3306, allocations: 0.8511 MB / 453 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005435/0.336, allocations: 3.373 MB / 456.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.338, allocations: 0.8623 MB / 457.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008933/0.3389, allocations: 403.5 kB / 457.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.339, allocations: 28.62 kB / 457.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009275/0.3399, allocations: 488.9 kB / 458.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.825e-06/0.3399, allocations: 3.938 kB / 458.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.00447/0.3444, allocations: 1.489 MB / 459.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.3445, allocations: 196.9 kB / 459.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006508/0.3452, allocations: 478 kB / 460.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/0.3453, allocations: 45.73 kB / 460.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.3456, allocations: 440.6 kB / 460.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.3459, allocations: 285.5 kB / 461 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.3461, allocations: 158.6 kB / 461.2 MB, free: 9.242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.3463, allocations: 374.8 kB / 461.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/0.3469, allocations: 265.9 kB / 461.8 MB, free: 8.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007494/0.3477, allocations: 491.2 kB / 462.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.349, allocations: 0.7396 MB / 463 MB, free: 7.227 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.349, allocations: 4 kB / 463 MB, free: 7.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002209/0.3512, allocations: 1.026 MB / 464 MB, free: 6.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.3513, allocations: 8 kB / 464 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3513, allocations: 4 kB / 464.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009195/0.3522, allocations: 261.5 kB / 464.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.3528, allocations: 147.7 kB / 464.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005985/0.3588, allocations: 4.661 MB / 469.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.3595, allocations: 103.4 kB / 469.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.3596, allocations: 36 kB / 469.2 MB, free: 0.7539 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005488/0.3601, allocations: 246.4 kB / 469.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.3603, allocations: 71.58 kB / 469.6 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.3625, allocations: 0.9554 MB / 470.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.3625, allocations: 8 kB / 470.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3625, allocations: 0 / 470.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.3626, allocations: 11.97 kB / 470.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/0.3661, allocations: 1.873 MB / 472.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.3661, allocations: 4 kB / 472.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.3665, allocations: 103.8 kB / 472.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007859/0.3673, allocations: 245.5 kB / 472.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.3674, allocations: 31.92 kB / 472.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005591/0.373, allocations: 4.602 MB / 477.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.373, allocations: 0 / 477.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.3757, allocations: 1.373 MB / 478.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.376, allocations: 143.5 kB / 478.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.3761, allocations: 16 kB / 478.9 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.3765, allocations: 47.89 kB / 479 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.3767, allocations: 76.86 kB / 479 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.3768, allocations: 27.94 kB / 479.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004239/0.3772, allocations: 326.9 kB / 479.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3772, allocations: 4 kB / 479.4 MB, free: 6.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001144/0.3784, allocations: 307.3 kB / 479.7 MB, free: 5.969 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003193/0.3816, allocations: 1.98 MB / 481.7 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.3837, allocations: 1.052 MB / 482.7 MB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3837, allocations: 1.25 kB / 482.7 MB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.3849, allocations: 0.704 MB / 483.4 MB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007354/0.3857, allocations: 130.2 kB / 483.6 MB, free: 2.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.3967, allocations: 6.534 MB / 490.1 MB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.3974, allocations: 0.9981 MB / 491.1 MB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003862/0.3978, allocations: 85.48 kB / 491.2 MB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.3982, allocations: 327.3 kB / 491.5 MB, free: 9.789 MB / 398.1 MB Notification: Performance of SimCode: time 1.472e-06/0.3982, allocations: 0 / 491.5 MB, free: 9.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06168/0.4599, allocations: 20.38 MB / 0.4999 GB, free: 5.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/15.86, allocations: 3.938 kB / 0.4999 GB, free: 5.66 MB / 414.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.25497597688809] 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.971755072940141 16.00761723 15.68163746 Calling exit ...