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.001435/0.001435, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.588/1.588, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.002282/0.002282, allocations: 211.7 kB / 310 MB, free: 3.051 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.04226/0.04226, allocations: 8.927 MB / 375.3 MB, free: 6.59 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: translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") [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.002663/0.002663, allocations: 79.88 kB / 0.4903 GB, free: 44.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1125, allocations: 55.62 MB / 0.5447 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.007024/0.1196, allocations: 4.109 MB / 0.5487 GB, free: 432 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.1225, allocations: 1.184 MB / 0.5498 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006178/0.1231, allocations: 39.75 kB / 0.5499 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.1236, allocations: 174.7 kB / 0.55 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.1249, allocations: 374 kB / 0.5504 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.1253, allocations: 183.7 kB / 0.5506 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.1273, allocations: 1.665 MB / 0.5522 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.1283, allocations: 0.5919 MB / 0.5528 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.1293, allocations: 0.7244 MB / 0.5535 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.1307, allocations: 0.8679 MB / 0.5543 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.131, allocations: 184 kB / 0.5545 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.1314, allocations: 188 kB / 0.5547 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000566/0.1319, allocations: 0.4986 MB / 0.5552 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008213/0.1328, allocations: 0.6691 MB / 0.5558 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.1354, allocations: 2.383 MB / 0.5582 GB, free: 6.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1354, allocations: 0 / 0.5582 GB, free: 6.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1354, allocations: 0 / 0.5582 GB, free: 6.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.315e-05/0.1354, allocations: 4 kB / 0.5582 GB, free: 6.645 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.003744/0.1392, allocations: 1.762 MB / 0.5599 GB, free: 4.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1392, allocations: 11.98 kB / 0.5599 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005873/0.1398, allocations: 184 kB / 0.5601 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.1418, allocations: 0.9478 MB / 0.561 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.983e-05/0.1419, allocations: 82.61 kB / 0.5611 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.1421, allocations: 120.1 kB / 0.5612 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.1453, allocations: 1.781 MB / 0.5629 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.1453, allocations: 4 kB / 0.5629 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.1455, allocations: 44 kB / 0.563 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-05/0.1456, allocations: 50.22 kB / 0.563 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.228/0.3735, allocations: 1.548 MB / 0.5645 GB, free: 25.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007164/0.3807, allocations: 4.379 MB / 0.5688 GB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.3826, allocations: 1.307 MB / 0.5701 GB, free: 24.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.3838, allocations: 0.7976 MB / 0.5709 GB, free: 23.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.3838, allocations: 10.53 kB / 0.5709 GB, free: 23.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3839, allocations: 40.66 kB / 0.5709 GB, free: 23.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.156e-06/0.3839, allocations: 0 / 0.5709 GB, free: 23.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.007625/0.3915, allocations: 3.785 MB / 0.5746 GB, free: 22.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.3915, allocations: 62.17 kB / 0.5747 GB, free: 22.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3927, allocations: 0.8393 MB / 0.5755 GB, free: 21.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.3927, allocations: 41.67 kB / 0.5755 GB, free: 21.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.393, allocations: 0.5093 MB / 0.576 GB, free: 21.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.3932, allocations: 326 kB / 0.5763 GB, free: 21.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.3935, allocations: 149.3 kB / 0.5765 GB, free: 21.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3936, allocations: 399.5 kB / 0.5769 GB, free: 20.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008044/0.3944, allocations: 499.7 kB / 0.5773 GB, free: 20.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008538/0.3953, allocations: 0.5709 MB / 0.5779 GB, free: 20.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.3968, allocations: 1.065 MB / 0.5789 GB, free: 19.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3968, allocations: 0.75 kB / 0.5789 GB, free: 19.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00263/0.3994, allocations: 1.555 MB / 0.5804 GB, free: 19.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3995, allocations: 5.281 kB / 0.5805 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.3995, allocations: 1.375 kB / 0.5805 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.4005, allocations: 496.9 kB / 0.5809 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.4011, allocations: 136.9 kB / 0.5811 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007569/0.4087, allocations: 9.016 MB / 0.5899 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.4093, allocations: 44.58 kB / 0.5899 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.4094, allocations: 30.77 kB / 0.5899 GB, free: 12.11 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.0007771/0.4102, allocations: 0.4968 MB / 0.5904 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.4103, allocations: 102 kB / 0.5905 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.4105, allocations: 128.6 kB / 0.5906 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.4105, allocations: 9.062 kB / 0.5906 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/0.4105, allocations: 2.375 kB / 0.5907 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4105, allocations: 8 kB / 0.5907 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004544/0.4151, allocations: 2.833 MB / 0.5934 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.4151, allocations: 1.156 kB / 0.5934 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.4156, allocations: 114.8 kB / 0.5935 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000877/0.4165, allocations: 498 kB / 0.594 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.4165, allocations: 22.12 kB / 0.594 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006659/0.4232, allocations: 8.946 MB / 0.6028 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4232, allocations: 1.156 kB / 0.6028 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003508/0.4267, allocations: 2.324 MB / 0.605 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/0.4274, allocations: 224 kB / 0.6053 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.4275, allocations: 21.53 kB / 0.6053 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.428, allocations: 61.31 kB / 0.6053 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.4282, allocations: 92.94 kB / 0.6054 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.4283, allocations: 28.77 kB / 0.6054 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007636/0.429, allocations: 0.5988 MB / 0.606 GB, free: 492 kB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.429, allocations: 0 / 0.606 GB, free: 492 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.00141/0.4304, allocations: 310 kB / 0.6063 GB, free: 460 kB / 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.0001683/0.4306, allocations: 128.7 kB / 0.6065 GB, free: 344 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002714/0.4333, allocations: 1.759 MB / 0.6082 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4333, allocations: 0 / 0.6082 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.435, allocations: 1.222 MB / 0.6094 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.4361, allocations: 272.2 kB / 0.6096 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.4413, allocations: 2.89 MB / 0.6124 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.4424, allocations: 0.8029 MB / 0.6132 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.4426, allocations: 63.42 kB / 0.6133 GB, free: 10.27 MB / 398.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4427, allocations: 0 / 0.6133 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Templates: time 0.05528/0.4979, allocations: 41.75 MB / 0.6541 GB, free: 0.5664 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.Electrical.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.045813734643161] Failed to read output from testmodel.py, exit status != 0: 0.506479499861598 0.521713377 0.38315848300000005 Calling exit ...