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.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.001576/0.001576, allocations: 112.1 kB / 17.08 MB, free: 6.012 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.444/1.444, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.001729/0.001729, allocations: 191.5 kB / 295.1 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03932/0.03932, allocations: 8.803 MB / 356 MB, free: 15.92 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: 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: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 87.86 kB / 473.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3672, allocations: 51.56 MB / 0.5126 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.007269/0.3745, allocations: 4.494 MB / 0.517 GB, free: 8.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.3776, allocations: 1.153 MB / 0.5181 GB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008429/0.3785, allocations: 27.88 kB / 0.5181 GB, free: 7.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006302/0.3791, allocations: 174.6 kB / 0.5183 GB, free: 7.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.3808, allocations: 346.1 kB / 0.5186 GB, free: 6.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.3813, allocations: 167.7 kB / 0.5188 GB, free: 6.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.3835, allocations: 1.658 MB / 0.5204 GB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.3849, allocations: 1.146 MB / 0.5215 GB, free: 3.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.386, allocations: 0.7087 MB / 0.5222 GB, free: 3.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.3871, allocations: 0.8523 MB / 0.523 GB, free: 2.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.3874, allocations: 180 kB / 0.5232 GB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.3877, allocations: 180 kB / 0.5234 GB, free: 1.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005038/0.3882, allocations: 0.4948 MB / 0.5238 GB, free: 1.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009291/0.3891, allocations: 0.8129 MB / 0.5246 GB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.3916, allocations: 2.35 MB / 0.5269 GB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3916, allocations: 0 / 0.5269 GB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3916, allocations: 3.938 kB / 0.5269 GB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.3917, allocations: 8 kB / 0.5269 GB, free: 14.29 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.003532/0.3952, allocations: 1.834 MB / 0.5287 GB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3953, allocations: 8.031 kB / 0.5287 GB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.3956, allocations: 160 kB / 0.5289 GB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.3971, allocations: 0.9783 MB / 0.5299 GB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/0.3972, allocations: 82.55 kB / 0.5299 GB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.3974, allocations: 128.1 kB / 0.5301 GB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.4003, allocations: 1.681 MB / 0.5317 GB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.4003, allocations: 3.938 kB / 0.5317 GB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.4004, allocations: 44 kB / 0.5317 GB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.4005, allocations: 50.22 kB / 0.5318 GB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/0.4032, allocations: 1.554 MB / 0.5333 GB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007665/0.4109, allocations: 4.956 MB / 0.5381 GB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002855/0.4137, allocations: 2.584 MB / 0.5407 GB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.415, allocations: 0.8488 MB / 0.5415 GB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.4151, allocations: 12.98 kB / 0.5415 GB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.4152, allocations: 43.56 kB / 0.5416 GB, free: 14.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.916e-06/0.4152, allocations: 0 / 0.5416 GB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.008449/0.4236, allocations: 4.092 MB / 0.5456 GB, free: 10.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.4238, allocations: 64.41 kB / 0.5456 GB, free: 10.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.4251, allocations: 0.8716 MB / 0.5465 GB, free: 9.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/0.4252, allocations: 41.7 kB / 0.5465 GB, free: 9.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.4257, allocations: 0.5164 MB / 0.547 GB, free: 9.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.426, allocations: 329.1 kB / 0.5473 GB, free: 8.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.4263, allocations: 146.6 kB / 0.5475 GB, free: 8.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4265, allocations: 345.9 kB / 0.5478 GB, free: 8.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00084/0.4273, allocations: 0.4899 MB / 0.5483 GB, free: 7.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000891/0.4282, allocations: 0.5684 MB / 0.5488 GB, free: 7.133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.43, allocations: 1.069 MB / 0.5499 GB, free: 6.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.43, allocations: 0 / 0.5499 GB, free: 6.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002801/0.4328, allocations: 1.57 MB / 0.5514 GB, free: 4.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.4328, allocations: 4 kB / 0.5514 GB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4328, allocations: 4 kB / 0.5514 GB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.4341, allocations: 499 kB / 0.5519 GB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.4347, allocations: 135.8 kB / 0.552 GB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.4453, allocations: 9.602 MB / 0.5614 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/0.4462, allocations: 43.98 kB / 0.5614 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.4463, allocations: 31.98 kB / 0.5615 GB, free: 9.582 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.001065/0.4473, allocations: 0.5016 MB / 0.562 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.4475, allocations: 107.3 kB / 0.5621 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.4478, allocations: 133.3 kB / 0.5622 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.4478, allocations: 8 kB / 0.5622 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/0.4478, allocations: 4 kB / 0.5622 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4479, allocations: 3.984 kB / 0.5622 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/0.4533, allocations: 3.153 MB / 0.5653 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4533, allocations: 7.984 kB / 0.5653 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/0.4538, allocations: 119.9 kB / 0.5654 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.4549, allocations: 483 kB / 0.5659 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.4549, allocations: 19.98 kB / 0.5659 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009966/0.4649, allocations: 9.532 MB / 0.5752 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.465, allocations: 4.031 kB / 0.5752 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/0.469, allocations: 2.348 MB / 0.5775 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006888/0.4697, allocations: 296.5 kB / 0.5778 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.4699, allocations: 24.08 kB / 0.5778 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.4704, allocations: 63.88 kB / 0.5779 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.4707, allocations: 80.88 kB / 0.5779 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.4707, allocations: 31.98 kB / 0.578 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008994/0.4716, allocations: 0.6317 MB / 0.5786 GB, free: 7.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4716, allocations: 3.938 kB / 0.5786 GB, free: 7.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00127/0.4729, allocations: 304 kB / 0.5789 GB, free: 7.051 MB / 398.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.0002383/0.4732, allocations: 137.4 kB / 0.579 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.4763, allocations: 1.792 MB / 0.5807 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4763, allocations: 0 / 0.5807 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.4782, allocations: 1.262 MB / 0.582 GB, free: 3.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.4795, allocations: 290.4 kB / 0.5823 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.4846, allocations: 2.865 MB / 0.5851 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.4858, allocations: 1.396 MB / 0.5864 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.4861, allocations: 55.44 kB / 0.5865 GB, free: 15.09 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4861, allocations: 0 / 0.5865 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Templates: time 0.05384/0.5399, allocations: 41.31 MB / 0.6268 GB, free: 5.828 MB / 446.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: 10.7725762471091] Failed to read output from testmodel.py, exit status != 0: 0.5467903120443225 0.559122135 0.165120537 Calling exit ...