Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.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.006202/0.006202, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001709/0.001709, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 51.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2626, allocations: 49.16 MB / 397.1 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006889/0.2695, allocations: 6.31 MB / 403.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004569/0.2741, allocations: 2.196 MB / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007231/0.2748, allocations: 28.5 kB / 405.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.2766, allocations: 0.7603 MB / 406.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.2781, allocations: 0.6344 MB / 407.1 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2792, allocations: 0.5016 MB / 407.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.2805, allocations: 1.194 MB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.2817, allocations: 0.7774 MB / 409.5 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006119/0.2823, allocations: 484.6 kB / 410 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000739/0.283, allocations: 0.5498 MB / 410.6 MB, free: 496 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.2832, allocations: 109.7 kB / 410.7 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.2838, allocations: 271.9 kB / 410.9 MB, free: 436 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.284, allocations: 249.6 kB / 411.2 MB, free: 260 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.2846, allocations: 0.5574 MB / 411.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.2867, allocations: 1.458 MB / 413.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2867, allocations: 4 kB / 413.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2867, allocations: 0 / 413.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.2867, allocations: 3.938 kB / 413.2 MB, free: 15.04 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.00394/0.2907, allocations: 1.675 MB / 414.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.2907, allocations: 13.05 kB / 414.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.849e-05/0.2908, allocations: 30.39 kB / 414.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.291, allocations: 169.2 kB / 415.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.2941, allocations: 482.4 kB / 415.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.2952, allocations: 0.5104 MB / 416.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/0.2953, allocations: 76.38 kB / 416.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.2955, allocations: 109.2 kB / 416.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.2975, allocations: 1.068 MB / 417.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.2976, allocations: 2.406 kB / 417.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.2977, allocations: 41.62 kB / 417.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.2978, allocations: 25.06 kB / 417.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.2996, allocations: 0.9216 MB / 418.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006231/0.3059, allocations: 3.502 MB / 421.8 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.3081, allocations: 0.9243 MB / 422.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009596/0.309, allocations: 426.9 kB / 423.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.3091, allocations: 13.47 kB / 423.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.3102, allocations: 0.5106 MB / 423.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=90): time 2.755e-06/0.3102, allocations: 0 / 423.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.007829/0.318, allocations: 2.692 MB / 426.4 MB, free: 6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.3181, allocations: 192.9 kB / 426.6 MB, free: 5.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.3188, allocations: 482 kB / 427 MB, free: 5.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/0.3188, allocations: 45.7 kB / 427.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.3192, allocations: 440.9 kB / 427.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.3196, allocations: 368.9 kB / 427.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.3199, allocations: 178.9 kB / 428 MB, free: 4.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.3201, allocations: 382.8 kB / 428.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/0.3208, allocations: 346.5 kB / 428.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009683/0.3218, allocations: 0.6054 MB / 429.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.3235, allocations: 0.9474 MB / 430.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.3235, allocations: 0 / 430.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002948/0.3264, allocations: 1.354 MB / 431.7 MB, free: 420 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.3265, allocations: 11.94 kB / 431.7 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.3265, allocations: 4 kB / 431.7 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.3278, allocations: 402.3 kB / 432.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.3285, allocations: 175.7 kB / 432.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009001/0.3375, allocations: 6.795 MB / 439 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009683/0.3385, allocations: 60.03 kB / 439.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-05/0.3386, allocations: 47.98 kB / 439.1 MB, free: 8.586 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.iAC.mean2.y,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 (99): * Single equations (assignments): 96 * 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.0005666/0.3391, allocations: 253.6 kB / 439.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3393, allocations: 87.48 kB / 439.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.3422, allocations: 1.238 MB / 440.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.3422, allocations: 8 kB / 440.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3422, allocations: 4 kB / 440.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.3422, allocations: 7.969 kB / 440.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.3471, allocations: 2.353 MB / 443.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.3471, allocations: 0 / 443.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.3476, allocations: 131.8 kB / 443.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.3488, allocations: 374.3 kB / 443.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.575e-05/0.3488, allocations: 23.98 kB / 443.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008077/0.3569, allocations: 6.457 MB / 450.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3569, allocations: 0 / 450.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/0.3606, allocations: 1.762 MB / 451.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.361, allocations: 143.5 kB / 452 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.3612, allocations: 20 kB / 452 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.3618, allocations: 59.95 kB / 452 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.362, allocations: 84.83 kB / 452.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/0.3621, allocations: 28 kB / 452.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004875/0.3626, allocations: 330.7 kB / 452.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3626, allocations: 4 kB / 452.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00137/0.3639, allocations: 291.9 kB / 452.8 MB, free: 10.48 MB / 366.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,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.y) * 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 (70): * Single equations (assignments): 64 * 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.004183/0.3681, allocations: 2.363 MB / 455.1 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.3713, allocations: 1.41 MB / 456.5 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.3713, allocations: 4 kB / 456.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.3732, allocations: 0.9645 MB / 457.5 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008742/0.3741, allocations: 130.3 kB / 457.6 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.3887, allocations: 7.525 MB / 465.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.3895, allocations: 1.023 MB / 466.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003998/0.3899, allocations: 94.25 kB / 466.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.3904, allocations: 347.3 kB / 466.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3904, allocations: 0 / 466.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/0.4537, allocations: 23.13 MB / 489.7 MB, free: 4.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.38, allocations: 15.81 kB / 489.8 MB, free: 4.918 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.716243718983606] 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'] 14.5624019469833 14.577329736 14.287595804 Calling exit ...