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.001308/0.001308, allocations: 103.9 kB / 21.96 MB, free: 5.219 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.001361/0.001361, allocations: 214 kB / 25.26 MB, free: 3.129 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.354/1.354, allocations: 207.7 MB / 236.1 MB, free: 9.793 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.001683/0.001683, allocations: 51.92 kB / 348 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3167, allocations: 49.16 MB / 397.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006277/0.323, allocations: 5.558 MB / 402.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003809/0.3268, allocations: 2.069 MB / 404.8 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000551/0.3273, allocations: 29.47 kB / 404.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.3291, allocations: 0.7035 MB / 405.5 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.3306, allocations: 0.6161 MB / 406.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009928/0.3316, allocations: 488 kB / 406.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.3329, allocations: 1.197 MB / 407.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009748/0.3338, allocations: 0.774 MB / 408.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005349/0.3344, allocations: 484.9 kB / 409 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.335, allocations: 0.5536 MB / 409.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.3352, allocations: 110.5 kB / 409.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006365/0.3358, allocations: 262.9 kB / 410 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.336, allocations: 257.7 kB / 410.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004342/0.3365, allocations: 455.4 kB / 410.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.3382, allocations: 1.477 MB / 412.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3383, allocations: 9.062 kB / 412.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3383, allocations: 0 / 412.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.962e-05/0.3383, allocations: 0 / 412.1 MB, free: 15.68 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.003516/0.3418, allocations: 1.675 MB / 413.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3418, allocations: 13.11 kB / 413.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.37e-05/0.3419, allocations: 34.44 kB / 413.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.3422, allocations: 162.4 kB / 414 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.3451, allocations: 485.5 kB / 414.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.3461, allocations: 0.5072 MB / 415 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.3462, allocations: 76.12 kB / 415.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.3464, allocations: 113.7 kB / 415.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.3484, allocations: 1.167 MB / 416.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.3484, allocations: 1 kB / 416.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.3485, allocations: 41.47 kB / 416.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.3485, allocations: 25.19 kB / 416.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.3503, allocations: 0.9341 MB / 417.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005522/0.3558, allocations: 3.214 MB / 420.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.3577, allocations: 0.915 MB / 421.5 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/0.3586, allocations: 426.6 kB / 421.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.485e-05/0.3587, allocations: 21.27 kB / 421.9 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009735/0.3597, allocations: 0.5982 MB / 422.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=90): time 3.266e-06/0.3597, allocations: 0 / 422.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.007274/0.3669, allocations: 2.698 MB / 425.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.3671, allocations: 200.9 kB / 425.4 MB, free: 6.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.3677, allocations: 474 kB / 425.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.543e-05/0.3678, allocations: 53.69 kB / 425.9 MB, free: 5.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.3681, allocations: 432.9 kB / 426.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.3684, allocations: 368.8 kB / 426.7 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/0.3687, allocations: 186.9 kB / 426.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.3689, allocations: 374.8 kB / 427.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007167/0.3697, allocations: 342.5 kB / 427.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.3707, allocations: 0.7019 MB / 428.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.3723, allocations: 0.959 MB / 429.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.3723, allocations: 8 kB / 429.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002926/0.3753, allocations: 1.343 MB / 430.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3753, allocations: 11.94 kB / 430.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.3753, allocations: 8 kB / 430.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.3767, allocations: 406.4 kB / 431 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/0.3774, allocations: 179.7 kB / 431.2 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008444/0.3859, allocations: 6.702 MB / 437.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008502/0.3867, allocations: 55.97 kB / 438 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/0.3868, allocations: 51.98 kB / 438 MB, free: 9.172 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.0004987/0.3873, allocations: 257.7 kB / 438.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.3874, allocations: 83.47 kB / 438.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/0.3902, allocations: 1.242 MB / 439.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.3902, allocations: 12 kB / 439.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3902, allocations: 3.984 kB / 439.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3902, allocations: 3.984 kB / 439.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/0.3948, allocations: 2.232 MB / 441.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.3948, allocations: 0 / 441.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.3953, allocations: 123.8 kB / 441.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.3965, allocations: 378.3 kB / 442.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.3966, allocations: 31.98 kB / 442.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007745/0.4043, allocations: 6.368 MB / 448.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4043, allocations: 3.984 kB / 448.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/0.4079, allocations: 1.758 MB / 450.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.4083, allocations: 143.5 kB / 450.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.4085, allocations: 24 kB / 450.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005919/0.409, allocations: 59.89 kB / 450.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.4093, allocations: 88.83 kB / 450.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/0.4094, allocations: 28 kB / 450.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004322/0.4098, allocations: 322.8 kB / 451.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4098, allocations: 0 / 451.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001282/0.4111, allocations: 295.9 kB / 451.4 MB, free: 11.27 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.00405/0.4151, allocations: 2.359 MB / 453.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002819/0.4179, allocations: 1.405 MB / 455.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4179, allocations: 0 / 455.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.4197, allocations: 0.9696 MB / 456.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008781/0.4206, allocations: 129.8 kB / 456.3 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.4346, allocations: 7.517 MB / 463.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.4353, allocations: 442.9 kB / 464.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004297/0.4357, allocations: 90.3 kB / 464.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005146/0.4362, allocations: 347.3 kB / 464.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4362, allocations: 0 / 464.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06572/0.5019, allocations: 22.83 MB / 487.5 MB, free: 6.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.59, allocations: 8.062 kB / 487.5 MB, free: 6.613 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.926123399985954] 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.766898508998565 14.781691220999999 14.440425265 Calling exit ...