Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 210.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.5 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 63.89 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3364, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005563/0.342, allocations: 3.837 MB / 435.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.3442, allocations: 0.9892 MB / 436.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.3444, allocations: 11.94 kB / 436.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.3447, allocations: 99 kB / 436.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.3452, allocations: 194.3 kB / 437.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.3456, allocations: 195.7 kB / 437.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009044/0.3465, allocations: 0.7516 MB / 438 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.3469, allocations: 159.7 kB / 438.2 MB, free: 204 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.3474, allocations: 302.9 kB / 438.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.3479, allocations: 330.5 kB / 438.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.931e-05/0.348, allocations: 64 kB / 438.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3481, allocations: 60 kB / 438.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.3483, allocations: 151.4 kB / 439 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.3486, allocations: 274.7 kB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008743/0.3495, allocations: 0.7312 MB / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3495, allocations: 0 / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3495, allocations: 0 / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3495, allocations: 4 kB / 440 MB, free: 14.3 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001901/0.3514, allocations: 0.8632 MB / 440.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.533e-05/0.3515, allocations: 12.03 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001021/0.3516, allocations: 17.5 kB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.3518, allocations: 127.9 kB / 441.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004355/0.3523, allocations: 100.4 kB / 441.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000843/0.3531, allocations: 352.2 kB / 441.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/0.3532, allocations: 45.69 kB / 441.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.3533, allocations: 64.12 kB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.3545, allocations: 0.5927 MB / 442.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.3546, allocations: 11.95 kB / 442.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.3546, allocations: 20 kB / 442.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.3546, allocations: 20 kB / 442.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009947/0.3556, allocations: 496.9 kB / 442.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003365/0.359, allocations: 1.992 MB / 444.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.3601, allocations: 0.5914 MB / 445.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007687/0.3609, allocations: 423.2 kB / 445.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.3609, allocations: 8.656 kB / 445.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.361, allocations: 35.22 kB / 445.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.587e-06/0.361, allocations: 3.938 kB / 445.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.00818/0.3692, allocations: 3.209 MB / 449 MB, free: 5.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.3692, allocations: 64.41 kB / 449.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.3696, allocations: 373.6 kB / 449.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.3697, allocations: 45.7 kB / 449.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3699, allocations: 241.6 kB / 449.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.3702, allocations: 372.8 kB / 450.1 MB, free: 4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.3704, allocations: 142.6 kB / 450.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3706, allocations: 374.7 kB / 450.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.3712, allocations: 293.9 kB / 450.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.3718, allocations: 364.5 kB / 451.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.373, allocations: 0.6695 MB / 451.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.373, allocations: 4 kB / 451.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002115/0.3751, allocations: 1.112 MB / 453 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3751, allocations: 6.5 kB / 453 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3751, allocations: 0 / 453 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.3763, allocations: 433.5 kB / 453.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.3768, allocations: 99.89 kB / 453.5 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.389, allocations: 12.25 MB / 465.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.3894, allocations: 28.02 kB / 465.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.3895, allocations: 24 kB / 465.8 MB, free: 3.375 MB / 366.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.0003225/0.3898, allocations: 212.3 kB / 466 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3899, allocations: 71.64 kB / 466.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.3901, allocations: 95.23 kB / 466.2 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3901, allocations: 8 kB / 466.2 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.3901, allocations: 4 kB / 466.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.3901, allocations: 3.984 kB / 466.2 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/0.3936, allocations: 2.001 MB / 468.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.3936, allocations: 3.938 kB / 468.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.394, allocations: 87.88 kB / 468.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.3954, allocations: 483.7 kB / 468.8 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.3954, allocations: 20 kB / 468.8 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/0.4066, allocations: 10.29 MB / 479.1 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4066, allocations: 4.188 kB / 479.1 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/0.4098, allocations: 1.714 MB / 480.8 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.4101, allocations: 119.5 kB / 480.9 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.4101, allocations: 20 kB / 480.9 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.4105, allocations: 23.98 kB / 481 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.4107, allocations: 100.8 kB / 481.1 MB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.4108, allocations: 24 kB / 481.1 MB, free: 3.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003248/0.4111, allocations: 259.2 kB / 481.3 MB, free: 3.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4111, allocations: 0 / 481.3 MB, free: 3.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001244/0.4124, allocations: 268 kB / 481.6 MB, free: 2.906 MB / 382.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.003368/0.4157, allocations: 2.281 MB / 483.9 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003001/0.4187, allocations: 1.761 MB / 485.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4187, allocations: 0 / 485.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.4207, allocations: 1.277 MB / 486.9 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.4214, allocations: 105.6 kB / 487 MB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.4322, allocations: 6.702 MB / 493.7 MB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.4326, allocations: 355.6 kB / 494.1 MB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.4329, allocations: 89.58 kB / 494.2 MB, free: 5.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.4332, allocations: 219.4 kB / 494.4 MB, free: 5.773 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4332, allocations: 3.938 kB / 494.4 MB, free: 5.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07871/0.512, allocations: 19.56 MB / 0.5019 GB, free: 2.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.64, allocations: 16.59 kB / 0.5019 GB, free: 2.426 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.196054950007237] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 14.825092070968822 14.841277488 14.488487323 Calling exit ...