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.001305/0.001305, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001381/0.001381, allocations: 189.3 kB / 24.49 MB, free: 3.957 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.345/1.345, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001468/0.001468, allocations: 51.91 kB / 371.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2491, allocations: 52.19 MB / 423.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007169/0.2563, allocations: 5.544 MB / 428.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004203/0.2605, allocations: 2.017 MB / 430.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.261, allocations: 23.88 kB / 430.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.2628, allocations: 0.7072 MB / 431.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.2645, allocations: 0.7322 MB / 432.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.2655, allocations: 486.8 kB / 432.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.2669, allocations: 1.168 MB / 434 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.268, allocations: 0.7766 MB / 434.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005687/0.2685, allocations: 470.3 kB / 435.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006734/0.2692, allocations: 0.5367 MB / 435.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.2694, allocations: 112 kB / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005513/0.2699, allocations: 255.9 kB / 436.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.2702, allocations: 251.1 kB / 436.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004418/0.2706, allocations: 449.8 kB / 436.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.2723, allocations: 1.463 MB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2723, allocations: 0 / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2723, allocations: 4 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.2724, allocations: 0 / 438.3 MB, free: 15.41 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.003415/0.2758, allocations: 1.643 MB / 440 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2758, allocations: 12.03 kB / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.347e-05/0.2759, allocations: 34.06 kB / 440 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002329/0.2761, allocations: 162.4 kB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.2783, allocations: 376 kB / 440.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008891/0.2791, allocations: 0.4977 MB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.2792, allocations: 82.38 kB / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.2794, allocations: 104.1 kB / 441.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.2813, allocations: 1.124 MB / 442.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.2813, allocations: 0 / 442.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.705e-05/0.2814, allocations: 44 kB / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.2814, allocations: 32 kB / 442.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.2831, allocations: 0.855 MB / 443.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005332/0.2884, allocations: 3.163 MB / 446.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.2902, allocations: 0.8528 MB / 447.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008643/0.2911, allocations: 413.9 kB / 447.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/0.2912, allocations: 16.98 kB / 447.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009402/0.2921, allocations: 0.6015 MB / 448.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.685e-06/0.2921, allocations: 0 / 448.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.006973/0.2991, allocations: 2.627 MB / 450.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.2992, allocations: 208.8 kB / 451.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.2998, allocations: 461.9 kB / 451.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/0.2998, allocations: 45.7 kB / 451.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.3002, allocations: 417 kB / 452 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.3005, allocations: 353 kB / 452.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.3008, allocations: 174.9 kB / 452.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.301, allocations: 378.8 kB / 452.9 MB, free: 352 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.3017, allocations: 330.5 kB / 453.2 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009341/0.3026, allocations: 0.6735 MB / 453.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.3041, allocations: 0.8993 MB / 454.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3041, allocations: 0 / 454.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002708/0.3068, allocations: 1.296 MB / 456.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3069, allocations: 8 kB / 456.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3069, allocations: 4 kB / 456.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.3082, allocations: 403.9 kB / 456.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/0.3088, allocations: 159.8 kB / 456.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008417/0.3172, allocations: 6.702 MB / 463.4 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008254/0.318, allocations: 63.89 kB / 463.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.3181, allocations: 44 kB / 463.5 MB, free: 5.234 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.0004977/0.3186, allocations: 257.6 kB / 463.7 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.3187, allocations: 79.53 kB / 463.8 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/0.3216, allocations: 1.234 MB / 465 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.629e-06/0.3216, allocations: 8 kB / 465 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3216, allocations: 4 kB / 465.1 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.3216, allocations: 7.969 kB / 465.1 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/0.326, allocations: 2.217 MB / 467.3 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.326, allocations: 96 / 467.3 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.3266, allocations: 123.8 kB / 467.4 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.3278, allocations: 378.2 kB / 467.8 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/0.3278, allocations: 20 kB / 467.8 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00805/0.3359, allocations: 6.381 MB / 474.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3359, allocations: 7.938 kB / 474.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.3394, allocations: 1.742 MB / 475.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.3398, allocations: 143.7 kB / 476.1 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.3399, allocations: 16 kB / 476.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.3405, allocations: 59.89 kB / 476.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.3407, allocations: 92.7 kB / 476.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.3408, allocations: 31.98 kB / 476.3 MB, free: 7.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004142/0.3412, allocations: 310.9 kB / 476.6 MB, free: 7.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3412, allocations: 0 / 476.6 MB, free: 7.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001204/0.3424, allocations: 291.9 kB / 476.8 MB, free: 7.395 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.003783/0.3462, allocations: 2.341 MB / 479.2 MB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.3487, allocations: 1.39 MB / 480.6 MB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3487, allocations: 8.062 kB / 480.6 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.3504, allocations: 0.9565 MB / 481.5 MB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.3511, allocations: 138.1 kB / 481.7 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.3631, allocations: 7.272 MB / 488.9 MB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.3635, allocations: 426.5 kB / 489.4 MB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.3639, allocations: 90.02 kB / 489.4 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.3643, allocations: 331.3 kB / 489.8 MB, free: 10.02 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3643, allocations: 0 / 489.8 MB, free: 10.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08577/0.4501, allocations: 22.47 MB / 0.5002 GB, free: 3.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.2, allocations: 4.062 kB / 0.5002 GB, free: 3.883 MB / 414.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.514819262898527] 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.387055760016665 14.413766339 14.136387483 Calling exit ...