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.0015/0.0015, allocations: 111.8 kB / 18.49 MB, free: 4.562 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.00154/0.00154, allocations: 194.5 kB / 21.43 MB, free: 1.633 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.449/1.449, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.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.001481/0.001481, allocations: 47.92 kB / 366.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008087/0.1135, allocations: 6.257 MB / 424.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004425/0.118, allocations: 2.141 MB / 426.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006059/0.1186, allocations: 23.88 kB / 426.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.1205, allocations: 0.7461 MB / 427.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.1222, allocations: 0.7728 MB / 428.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.1232, allocations: 0.4987 MB / 428.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.1245, allocations: 1.175 MB / 430.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.1255, allocations: 0.6753 MB / 430.8 MB, free: 232 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.1261, allocations: 466.3 kB / 431.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007013/0.1268, allocations: 0.5329 MB / 431.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.1269, allocations: 112 kB / 431.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005524/0.1275, allocations: 267.8 kB / 432.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.1277, allocations: 251.1 kB / 432.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.1283, allocations: 0.5442 MB / 432.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.13, allocations: 1.447 MB / 434.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.13, allocations: 0 / 434.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.13, allocations: 4 kB / 434.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.13, allocations: 0 / 434.4 MB, free: 12.61 MB / 366.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.003188/0.1332, allocations: 1.454 MB / 435.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1332, allocations: 16.03 kB / 435.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.702e-05/0.1333, allocations: 26.19 kB / 435.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002441/0.1335, allocations: 166.4 kB / 436 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.1358, allocations: 372 kB / 436.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009937/0.1368, allocations: 0.566 MB / 437 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.1368, allocations: 78.33 kB / 437 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.137, allocations: 116.1 kB / 437.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.139, allocations: 1.016 MB / 438.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.139, allocations: 4 kB / 438.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.1391, allocations: 44 kB / 438.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.1391, allocations: 27.94 kB / 438.2 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.1409, allocations: 0.8589 MB / 439.1 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005642/0.1465, allocations: 3.59 MB / 442.7 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.1491, allocations: 1.839 MB / 444.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009995/0.1501, allocations: 429 kB / 445 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.1502, allocations: 94.09 kB / 445 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009666/0.1511, allocations: 0.5011 MB / 445.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=88): time 2.434e-06/0.1511, allocations: 0 / 445.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.1944/0.3455, allocations: 3.688 MB / 449.2 MB, free: 29.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.3456, allocations: 201.5 kB / 449.4 MB, free: 29.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.3461, allocations: 453.7 kB / 449.9 MB, free: 28.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.3461, allocations: 47.67 kB / 449.9 MB, free: 28.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.3463, allocations: 421.6 kB / 450.3 MB, free: 28.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.3465, allocations: 356.4 kB / 450.7 MB, free: 28.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.3468, allocations: 178.6 kB / 450.9 MB, free: 28.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.3469, allocations: 380.2 kB / 451.2 MB, free: 28.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.3475, allocations: 329.8 kB / 451.6 MB, free: 28.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.3482, allocations: 0.5609 MB / 452.1 MB, free: 27.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.3496, allocations: 0.901 MB / 453 MB, free: 27.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3496, allocations: 1.344 kB / 453 MB, free: 27.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002672/0.3523, allocations: 1.3 MB / 454.3 MB, free: 27.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.3523, allocations: 7.438 kB / 454.3 MB, free: 27.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.3523, allocations: 6.766 kB / 454.3 MB, free: 27.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.3537, allocations: 396.7 kB / 454.7 MB, free: 27.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.3544, allocations: 159 kB / 454.9 MB, free: 27.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006489/0.3609, allocations: 7.093 MB / 462 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/0.3616, allocations: 56.03 kB / 462 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/0.3617, allocations: 40.12 kB / 462.1 MB, free: 21.34 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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0003842/0.362, allocations: 256.9 kB / 462.3 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3622, allocations: 78.03 kB / 462.4 MB, free: 21.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.3649, allocations: 1.258 MB / 463.6 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.365, allocations: 13.2 kB / 463.7 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.365, allocations: 7.219 kB / 463.7 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.365, allocations: 3.281 kB / 463.7 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.3689, allocations: 2.374 MB / 466 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3689, allocations: 2.312 kB / 466 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.3694, allocations: 120.2 kB / 466.2 MB, free: 19.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.3706, allocations: 384.5 kB / 466.5 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/0.3706, allocations: 28.78 kB / 466.6 MB, free: 19.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005934/0.3766, allocations: 6.769 MB / 473.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3766, allocations: 1.219 kB / 473.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.3799, allocations: 1.747 MB / 475.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.3802, allocations: 218.6 kB / 475.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.942e-05/0.3803, allocations: 23.66 kB / 475.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.3808, allocations: 52.44 kB / 475.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.381, allocations: 97.56 kB / 475.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.636e-05/0.3811, allocations: 27.05 kB / 475.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003681/0.3814, allocations: 313.1 kB / 475.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3814, allocations: 0 / 475.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001176/0.3826, allocations: 284.7 kB / 476.1 MB, free: 12.34 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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.003393/0.386, allocations: 2.351 MB / 478.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002503/0.3885, allocations: 1.375 MB / 479.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3885, allocations: 1.25 kB / 479.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.39, allocations: 0.9661 MB / 480.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.3906, allocations: 125.6 kB / 480.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.4007, allocations: 7.316 MB / 488.2 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.4011, allocations: 1.009 MB / 489.2 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003548/0.4015, allocations: 87.7 kB / 489.3 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.4018, allocations: 335.2 kB / 489.6 MB, free: 4.363 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4018, allocations: 4 kB / 489.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05737/0.4592, allocations: 21.96 MB / 0.4996 GB, free: 15.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.84, allocations: 12 kB / 0.4996 GB, free: 15.39 MB / 398.1 MB " [Timeout remaining time 646] (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.321169484988786] 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.00914478302002 14.031685393 13.897487256 Calling exit ...