Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.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.001485/0.001485, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001663/0.001663, allocations: 203.8 kB / 22.12 MB, free: 0.9297 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.598/1.598, allocations: 207.6 MB / 232.5 MB, free: 11.5 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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_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.001944/0.001944, allocations: 59.92 kB / 343 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3035, allocations: 49.12 MB / 392.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005216/0.3087, allocations: 4.215 MB / 396.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.311, allocations: 0.9699 MB / 397.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.3115, allocations: 12.28 kB / 397.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.3118, allocations: 90.17 kB / 397.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007877/0.3126, allocations: 205.1 kB / 397.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004803/0.313, allocations: 154.8 kB / 397.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.3142, allocations: 0.7423 MB / 398.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.3146, allocations: 159.9 kB / 398.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005981/0.3152, allocations: 289.6 kB / 399 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.3157, allocations: 331.6 kB / 399.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.3158, allocations: 60.38 kB / 399.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3159, allocations: 60.84 kB / 399.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.3161, allocations: 147 kB / 399.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.3165, allocations: 334.3 kB / 399.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.3177, allocations: 0.7165 MB / 400.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.3177, allocations: 4.656 kB / 400.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3177, allocations: 0 / 400.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.914e-05/0.3177, allocations: 0 / 400.6 MB, free: 3.328 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001728/0.3195, allocations: 0.9248 MB / 401.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.3195, allocations: 10.12 kB / 401.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.139e-05/0.3196, allocations: 22 kB / 401.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.3198, allocations: 123.5 kB / 401.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.3199, allocations: 76.75 kB / 401.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.3205, allocations: 395.3 kB / 402.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.3205, allocations: 46.03 kB / 402.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.3206, allocations: 65.55 kB / 402.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.3218, allocations: 0.6002 MB / 402.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.3218, allocations: 7.172 kB / 402.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.3219, allocations: 21.19 kB / 402.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.3219, allocations: 13.97 kB / 402.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.3229, allocations: 497 kB / 403.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003249/0.3262, allocations: 2.195 MB / 405.6 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3273, allocations: 0.6653 MB / 406.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.328, allocations: 414.3 kB / 406.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.328, allocations: 7.891 kB / 406.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.3281, allocations: 40.11 kB / 406.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.445e-06/0.3281, allocations: 0 / 406.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.00878/0.3368, allocations: 3.509 MB / 410.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.3369, allocations: 63.59 kB / 410.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.3375, allocations: 368.1 kB / 410.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.965e-05/0.3375, allocations: 45.83 kB / 410.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3377, allocations: 240.9 kB / 410.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003841/0.3381, allocations: 370.3 kB / 411.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.3384, allocations: 146.3 kB / 411.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.3386, allocations: 372.1 kB / 411.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.3392, allocations: 296.1 kB / 412 MB, free: 12.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006385/0.3398, allocations: 365.3 kB / 412.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.3411, allocations: 0.6739 MB / 413.1 MB, free: 12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3411, allocations: 0 / 413.1 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002497/0.3436, allocations: 1.107 MB / 414.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.3437, allocations: 9.359 kB / 414.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3437, allocations: 1.062 kB / 414.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.3451, allocations: 429.4 kB / 414.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.3455, allocations: 97.05 kB / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/0.36, allocations: 13.06 MB / 427.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.3607, allocations: 29.02 kB / 427.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.3608, allocations: 25.91 kB / 427.8 MB, free: 14.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (2,5,100.0%), (2,5,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004279/0.3612, allocations: 203.2 kB / 428 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.3614, allocations: 67.58 kB / 428.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.3616, allocations: 92.31 kB / 428.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.3616, allocations: 10.53 kB / 428.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.612e-05/0.3617, allocations: 8.438 kB / 428.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.3617, allocations: 7.969 kB / 428.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/0.3659, allocations: 2.118 MB / 430.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.3659, allocations: 3.938 kB / 430.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.3664, allocations: 87.89 kB / 430.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.3678, allocations: 483.8 kB / 430.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.3679, allocations: 28 kB / 430.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.381, allocations: 10.9 MB / 441.8 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.381, allocations: 0 / 441.8 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/0.3843, allocations: 1.714 MB / 443.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.3848, allocations: 200.6 kB / 443.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.3848, allocations: 19.98 kB / 443.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.3852, allocations: 20 kB / 443.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/0.3855, allocations: 92.8 kB / 443.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.3856, allocations: 31.94 kB / 443.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003246/0.3859, allocations: 255.2 kB / 444.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3859, allocations: 4 kB / 444.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001528/0.3874, allocations: 264 kB / 444.4 MB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 ($outputAlias_iAC[2],$outputAlias_iAC[3],$outputAlias_uAC[3],$outputAlias_Losses) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (2,5,100.0%), (2,5,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003903/0.3913, allocations: 2.273 MB / 446.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.3944, allocations: 1.764 MB / 448.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3945, allocations: 0 / 448.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.3966, allocations: 1.266 MB / 449.7 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/0.3974, allocations: 117.9 kB / 449.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.4097, allocations: 6.693 MB / 456.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/0.4105, allocations: 0.9397 MB / 457.4 MB, free: 392 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003551/0.4109, allocations: 97.52 kB / 457.5 MB, free: 292 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.4112, allocations: 215.4 kB / 457.8 MB, free: 76 kB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4112, allocations: 0 / 457.8 MB, free: 76 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06454/0.4758, allocations: 19.05 MB / 476.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.68, allocations: 11.81 kB / 476.8 MB, free: 12.93 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.283783161023166] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 13.837774401006754 13.851707046 13.530995991 Calling exit ...