Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.001263/0.001263, allocations: 104.7 kB / 18.49 MB, free: 4.605 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.0012/0.0012, allocations: 189 kB / 21.43 MB, free: 1.676 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.389/1.389, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 51.88 kB / 366.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1043, allocations: 52.13 MB / 418.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005894/0.1102, allocations: 4.278 MB / 422.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1122, allocations: 0.923 MB / 423.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004601/0.1127, allocations: 15.94 kB / 423.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.113, allocations: 99 kB / 423.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006927/0.1137, allocations: 198.3 kB / 424 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1141, allocations: 155.8 kB / 424.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009753/0.1151, allocations: 0.7322 MB / 424.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.1154, allocations: 155.1 kB / 425 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.1158, allocations: 290.9 kB / 425.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.1162, allocations: 338.5 kB / 425.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-05/0.1163, allocations: 60 kB / 425.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.776e-05/0.1164, allocations: 60 kB / 425.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.1165, allocations: 147.5 kB / 425.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.1168, allocations: 330.3 kB / 426.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007659/0.1176, allocations: 0.7079 MB / 427 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1176, allocations: 0 / 427 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1176, allocations: 7.938 kB / 427 MB, free: 4.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1176, allocations: 0 / 427 MB, free: 4.176 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.001532/0.1191, allocations: 0.9308 MB / 427.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1192, allocations: 8.031 kB / 427.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.596e-05/0.1192, allocations: 25.48 kB / 427.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.1194, allocations: 111.9 kB / 428 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1195, allocations: 76.47 kB / 428.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.1201, allocations: 410 kB / 428.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.1201, allocations: 41.69 kB / 428.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.1202, allocations: 72.09 kB / 428.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1212, allocations: 0.5966 MB / 429.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1212, allocations: 7.953 kB / 429.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.1213, allocations: 20 kB / 429.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.1213, allocations: 16 kB / 429.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009095/0.1222, allocations: 496.9 kB / 429.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.1253, allocations: 2.19 MB / 431.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1263, allocations: 0.6702 MB / 432.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006541/0.127, allocations: 414.7 kB / 433 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.127, allocations: 8.656 kB / 433 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.127, allocations: 44.09 kB / 433.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 1.954e-06/0.127, allocations: 0 / 433.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.007879/0.1349, allocations: 3.51 MB / 436.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.135, allocations: 68.41 kB / 436.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.1354, allocations: 357.7 kB / 437 MB, free: 9.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.1354, allocations: 41.7 kB / 437 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.1356, allocations: 241.6 kB / 437.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.1359, allocations: 364.8 kB / 437.6 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.1361, allocations: 146.6 kB / 437.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1363, allocations: 374.7 kB / 438.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.1369, allocations: 301.8 kB / 438.4 MB, free: 8.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.1375, allocations: 364.5 kB / 438.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.1387, allocations: 0.6578 MB / 439.4 MB, free: 7.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1387, allocations: 0 / 439.4 MB, free: 7.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002061/0.1407, allocations: 1.116 MB / 440.6 MB, free: 6.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1407, allocations: 10.5 kB / 440.6 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1407, allocations: 0 / 440.6 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.1419, allocations: 429.6 kB / 441 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.1424, allocations: 99.88 kB / 441.1 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1951/0.3375, allocations: 13.06 MB / 454.1 MB, free: 23.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.3379, allocations: 29.28 kB / 454.2 MB, free: 23.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.3379, allocations: 25 kB / 454.2 MB, free: 23.01 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.0002463/0.3382, allocations: 206.8 kB / 454.4 MB, free: 22.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.3383, allocations: 64.25 kB / 454.5 MB, free: 22.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.3385, allocations: 92.5 kB / 454.6 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3385, allocations: 10.19 kB / 454.6 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/0.3385, allocations: 9.875 kB / 454.6 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3385, allocations: 8.625 kB / 454.6 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.3413, allocations: 2.119 MB / 456.7 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3413, allocations: 4.453 kB / 456.7 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.3417, allocations: 81.89 kB / 456.8 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.343, allocations: 494.3 kB / 457.3 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.343, allocations: 18.42 kB / 457.3 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009165/0.3522, allocations: 10.89 MB / 468.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.3522, allocations: 1.266 kB / 468.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.3549, allocations: 1.714 MB / 469.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.3552, allocations: 200.9 kB / 470.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.3553, allocations: 18.75 kB / 470.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.3556, allocations: 30.98 kB / 470.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.3559, allocations: 98.38 kB / 470.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.3559, allocations: 25.53 kB / 470.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.3562, allocations: 260.6 kB / 470.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3562, allocations: 0 / 470.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001215/0.3574, allocations: 262.5 kB / 470.8 MB, free: 12.2 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.00275/0.3601, allocations: 2.284 MB / 473.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.3623, allocations: 1.765 MB / 474.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3623, allocations: 0 / 474.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.3639, allocations: 1.278 MB / 476.1 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.3644, allocations: 102.5 kB / 476.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009349/0.3738, allocations: 6.673 MB / 482.9 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.3743, allocations: 0.9474 MB / 483.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.3745, allocations: 92.94 kB / 483.9 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.3748, allocations: 218.8 kB / 484.1 MB, free: 4.383 MB / 366.1 MB Notification: Performance of SimCode: time 1.143e-06/0.3748, allocations: 0 / 484.1 MB, free: 4.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05745/0.4322, allocations: 19.04 MB / 0.4914 GB, free: 6.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.36, allocations: 12.28 kB / 0.4914 GB, free: 6.508 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.732140059000812] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 13.529183336009737 13.54554987 13.425109911 Calling exit ...