Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 108.6 kB / 21.22 MB, free: 0.7461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 188.3 kB / 24.51 MB, free: 3.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 43.92 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2672, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008677/0.2759, allocations: 6.29 MB / 429.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.2801, allocations: 2.145 MB / 431.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.2806, allocations: 27.88 kB / 431.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.2824, allocations: 0.7609 MB / 432.6 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.2841, allocations: 0.765 MB / 433.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.2852, allocations: 498.7 kB / 433.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.2867, allocations: 1.176 MB / 435.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.2878, allocations: 0.7611 MB / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006011/0.2884, allocations: 470.3 kB / 436.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007384/0.2892, allocations: 0.5368 MB / 436.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.2893, allocations: 111.9 kB / 436.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.2899, allocations: 271.8 kB / 437.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.2901, allocations: 243.2 kB / 437.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.2907, allocations: 0.5442 MB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.2924, allocations: 1.451 MB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2924, allocations: 0 / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2924, allocations: 4 kB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.2924, allocations: 0 / 439.4 MB, free: 14.5 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.003469/0.2959, allocations: 1.647 MB / 441.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.2959, allocations: 8.031 kB / 441.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.515e-05/0.296, allocations: 30.17 kB / 441.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.2962, allocations: 170.4 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.2983, allocations: 379.9 kB / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.2992, allocations: 0.4977 MB / 442.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.2993, allocations: 82.39 kB / 442.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.2995, allocations: 100.1 kB / 442.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.3013, allocations: 1.028 MB / 443.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.3014, allocations: 4 kB / 443.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.3015, allocations: 47.98 kB / 443.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.3015, allocations: 24 kB / 443.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.3032, allocations: 0.8628 MB / 444.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00549/0.3087, allocations: 3.42 MB / 447.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.3106, allocations: 0.8645 MB / 448.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009065/0.3115, allocations: 405.9 kB / 449 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.3116, allocations: 24.98 kB / 449 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009443/0.3125, allocations: 0.4972 MB / 449.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.314e-06/0.3125, allocations: 0 / 449.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.007278/0.3198, allocations: 2.63 MB / 452.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.32, allocations: 200.9 kB / 452.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.3206, allocations: 457.9 kB / 452.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.443e-05/0.3207, allocations: 49.69 kB / 452.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.3211, allocations: 421 kB / 453.2 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.3214, allocations: 349 kB / 453.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.3217, allocations: 178.9 kB / 453.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3219, allocations: 374.8 kB / 454.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/0.3226, allocations: 338.5 kB / 454.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009048/0.3235, allocations: 0.569 MB / 455 MB, free: 14.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.3251, allocations: 0.8916 MB / 455.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3251, allocations: 0 / 455.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002817/0.3279, allocations: 1.296 MB / 457.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.328, allocations: 8 kB / 457.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.328, allocations: 7.984 kB / 457.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.3293, allocations: 398.1 kB / 457.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.33, allocations: 155.8 kB / 457.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008539/0.3385, allocations: 6.796 MB / 464.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.3393, allocations: 63.95 kB / 464.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.3393, allocations: 39.98 kB / 464.7 MB, free: 4.344 MB / 366.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.0004565/0.3398, allocations: 253.6 kB / 464.9 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3399, allocations: 87.47 kB / 465 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/0.3427, allocations: 1.234 MB / 466.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3427, allocations: 12 kB / 466.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3427, allocations: 0 / 466.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3427, allocations: 3.984 kB / 466.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.3474, allocations: 2.349 MB / 468.6 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/0.3474, allocations: 8.031 kB / 468.6 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.3479, allocations: 123.8 kB / 468.7 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.3492, allocations: 377.4 kB / 469.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.3492, allocations: 16 kB / 469.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008132/0.3574, allocations: 6.452 MB / 475.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.3574, allocations: 7.938 kB / 475.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/0.361, allocations: 1.742 MB / 477.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.3614, allocations: 143.4 kB / 477.5 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.3615, allocations: 20 kB / 477.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.362, allocations: 52.14 kB / 477.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.3622, allocations: 96.7 kB / 477.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.3623, allocations: 31.92 kB / 477.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003879/0.3627, allocations: 314.9 kB / 478 MB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3627, allocations: 0 / 478 MB, free: 6.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001127/0.3638, allocations: 287.9 kB / 478.2 MB, free: 6.297 MB / 382.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.003983/0.3678, allocations: 2.345 MB / 480.6 MB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.3705, allocations: 1.385 MB / 482 MB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3705, allocations: 0 / 482 MB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.3723, allocations: 0.9649 MB / 482.9 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.373, allocations: 134.4 kB / 483.1 MB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.3857, allocations: 7.292 MB / 490.4 MB, free: 9.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.3864, allocations: 1.015 MB / 491.4 MB, free: 8.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.3868, allocations: 94.02 kB / 491.5 MB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.3873, allocations: 335.3 kB / 491.8 MB, free: 8.305 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3873, allocations: 0 / 491.8 MB, free: 8.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06118/0.4485, allocations: 22.73 MB / 0.5025 GB, free: 1.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.42, allocations: 14.56 kB / 0.5025 GB, free: 1.836 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.77969751600176] 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.604282300977502 14.628772763 14.331393136 Calling exit ...