Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.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.001359/0.001359, allocations: 93.92 kB / 19.73 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 253.4 MB, free: 14.31 MB / 206.1 MB " [Timeout remaining time 178] 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.002178/0.002178, allocations: 211.6 kB / 310 MB, free: 3.074 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04223/0.04223, allocations: 8.921 MB / 375.4 MB, free: 6.586 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 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.002331/0.002331, allocations: 91.86 kB / 0.4899 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09284, allocations: 55.6 MB / 0.5442 GB, free: 5.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.006093/0.09893, allocations: 4.119 MB / 0.5482 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.1018, allocations: 1.184 MB / 0.5494 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.1021, allocations: 35.81 kB / 0.5494 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004162/0.1025, allocations: 178.6 kB / 0.5496 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.1035, allocations: 370 kB / 0.5499 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1039, allocations: 183.7 kB / 0.5501 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.1057, allocations: 1.662 MB / 0.5517 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008907/0.1065, allocations: 0.6154 MB / 0.5523 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.1076, allocations: 0.7243 MB / 0.553 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.1087, allocations: 0.8757 MB / 0.5539 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.1089, allocations: 184 kB / 0.5541 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.1092, allocations: 184 kB / 0.5542 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004668/0.1097, allocations: 0.4986 MB / 0.5547 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.1104, allocations: 0.6614 MB / 0.5554 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.1127, allocations: 2.379 MB / 0.5577 GB, free: 7.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1127, allocations: 0 / 0.5577 GB, free: 7.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1127, allocations: 0 / 0.5577 GB, free: 7.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.1127, allocations: 0 / 0.5577 GB, free: 7.145 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.003219/0.116, allocations: 1.774 MB / 0.5594 GB, free: 5.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.116, allocations: 11.98 kB / 0.5594 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.171e-05/0.1161, allocations: 30.42 kB / 0.5595 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/0.1163, allocations: 177.4 kB / 0.5596 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005168/0.1168, allocations: 184 kB / 0.5598 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.1183, allocations: 0.9516 MB / 0.5607 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.1184, allocations: 86.36 kB / 0.5608 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.1186, allocations: 112 kB / 0.5609 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.1213, allocations: 1.785 MB / 0.5627 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.1214, allocations: 7.984 kB / 0.5627 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.1215, allocations: 44 kB / 0.5627 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.499e-05/0.1215, allocations: 54.22 kB / 0.5628 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.1241, allocations: 1.554 MB / 0.5643 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2082/0.3323, allocations: 4.533 MB / 0.5687 GB, free: 24.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.3339, allocations: 1.3 MB / 0.57 GB, free: 23.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.335, allocations: 0.8008 MB / 0.5708 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.3351, allocations: 10.81 kB / 0.5708 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3351, allocations: 45.48 kB / 0.5708 GB, free: 23.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.795e-06/0.3351, allocations: 0 / 0.5708 GB, free: 23.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.007569/0.3427, allocations: 3.78 MB / 0.5745 GB, free: 22.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3427, allocations: 62.56 kB / 0.5746 GB, free: 22.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.3442, allocations: 0.8842 MB / 0.5754 GB, free: 21.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.809e-05/0.3443, allocations: 41.33 kB / 0.5755 GB, free: 21.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.3447, allocations: 0.5172 MB / 0.576 GB, free: 21.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.3449, allocations: 326.6 kB / 0.5763 GB, free: 21.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.3452, allocations: 148.2 kB / 0.5764 GB, free: 21.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.3453, allocations: 342.8 kB / 0.5768 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007998/0.3461, allocations: 0.4884 MB / 0.5772 GB, free: 20.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008091/0.3469, allocations: 0.5665 MB / 0.5778 GB, free: 20.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.3483, allocations: 1.067 MB / 0.5788 GB, free: 19.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3483, allocations: 1.797 kB / 0.5788 GB, free: 19.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002584/0.3509, allocations: 1.556 MB / 0.5804 GB, free: 19.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3509, allocations: 8.531 kB / 0.5804 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3509, allocations: 1.281 kB / 0.5804 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.352, allocations: 499.4 kB / 0.5808 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/0.3525, allocations: 138.9 kB / 0.581 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007239/0.3597, allocations: 9.115 MB / 0.5899 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.3604, allocations: 45.12 kB / 0.5899 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.3604, allocations: 25.84 kB / 0.5899 GB, free: 11.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0007309/0.3611, allocations: 0.5033 MB / 0.5904 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3613, allocations: 99.73 kB / 0.5905 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.3615, allocations: 130.8 kB / 0.5907 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.3615, allocations: 9.156 kB / 0.5907 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.3615, allocations: 2.25 kB / 0.5907 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.3615, allocations: 5.422 kB / 0.5907 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004362/0.3659, allocations: 2.983 MB / 0.5936 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3659, allocations: 0 / 0.5936 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.3664, allocations: 116.5 kB / 0.5937 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/0.3673, allocations: 494.6 kB / 0.5942 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.3673, allocations: 21.12 kB / 0.5942 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006477/0.3738, allocations: 9.047 MB / 0.603 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3738, allocations: 1.062 kB / 0.603 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/0.3772, allocations: 2.333 MB / 0.6053 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/0.3778, allocations: 221.3 kB / 0.6055 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.3779, allocations: 21.94 kB / 0.6055 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.3784, allocations: 61.14 kB / 0.6056 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.3786, allocations: 91.72 kB / 0.6057 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.3787, allocations: 29.25 kB / 0.6057 GB, free: 388 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008313/0.3795, allocations: 0.6361 MB / 0.6063 GB, free: 20 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3795, allocations: 0 / 0.6063 GB, free: 20 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001425/0.3809, allocations: 307.9 kB / 0.6066 GB, free: 0 / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003877/0.3848, allocations: 2.91 MB / 0.6095 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003089/0.3879, allocations: 1.759 MB / 0.6112 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3879, allocations: 192 / 0.6112 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.3899, allocations: 1.221 MB / 0.6124 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.3914, allocations: 301.9 kB / 0.6127 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/0.4094, allocations: 11.24 MB / 0.6236 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.4105, allocations: 0.8215 MB / 0.6244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005796/0.4111, allocations: 189.8 kB / 0.6246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/0.4117, allocations: 411.3 kB / 0.625 GB, free: 13.84 MB / 414.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4117, allocations: 0 / 0.625 GB, free: 13.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08159/0.4933, allocations: 32.38 MB / 0.6566 GB, free: 13.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.18, allocations: 4.062 kB / 0.6566 GB, free: 13.82 MB / 446.1 MB " [Timeout remaining time 645] (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Rectifier_fmu --startTime=0 --stopTime=0.08 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Rectifier.fmu > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.97872755897697] Failed to read output from testmodel.py, exit status != 0: 15.371092654997483 15.38753484 15.271624013 Calling exit ...