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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 240 MB, free: 5.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009465/0.0009465, allocations: 180.5 kB / 291.3 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03478/0.03478, allocations: 8.802 MB / 351.2 MB, free: 4.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 18.12 kB / 414.5 MB, free: 42.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06367/0.06402, allocations: 52.55 MB / 467 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.003943/0.06799, allocations: 4.11 MB / 471.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.06968, allocations: 1.13 MB / 472.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.06989, allocations: 19.88 kB / 472.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.07016, allocations: 139.1 kB / 472.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006814/0.07085, allocations: 342.3 kB / 472.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.07109, allocations: 135.9 kB / 472.9 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.0726, allocations: 1.919 MB / 474.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000985/0.0736, allocations: 0.9717 MB / 475.8 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004527/0.07406, allocations: 0.5095 MB / 476.3 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/0.07482, allocations: 0.7274 MB / 477 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.07494, allocations: 76 kB / 477.1 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.07509, allocations: 76 kB / 477.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.07539, allocations: 370.7 kB / 477.5 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005479/0.07595, allocations: 0.7012 MB / 478.2 MB, free: 1.832 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.07724, allocations: 1.858 MB / 480.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.07725, allocations: 0 / 480.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.07726, allocations: 0 / 480.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.07728, allocations: 0 / 480.1 MB, free: 15.97 MB / 318.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.002494/0.07978, allocations: 1.57 MB / 481.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.07982, allocations: 16.02 kB / 481.7 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.08004, allocations: 155.1 kB / 481.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.08124, allocations: 0.9425 MB / 482.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.08131, allocations: 82.61 kB / 482.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.08148, allocations: 116.1 kB / 483 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.08399, allocations: 1.701 MB / 484.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.08402, allocations: 4 kB / 484.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.08414, allocations: 44 kB / 484.7 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.054e-05/0.0842, allocations: 54.22 kB / 484.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.08667, allocations: 1.578 MB / 486.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006463/0.09314, allocations: 5.045 MB / 491.4 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.09538, allocations: 2.58 MB / 494 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.09658, allocations: 0.8645 MB / 494.8 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.09663, allocations: 9 kB / 494.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.09666, allocations: 47.5 kB / 494.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.174e-06/0.09667, allocations: 4 kB / 494.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of matching and sorting (n=93): time 0.007252/0.1039, allocations: 4.148 MB / 499 MB, free: 12.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.104, allocations: 64.41 kB / 499.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009756/0.105, allocations: 0.8716 MB / 500 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.105, allocations: 41.7 kB / 0.4883 GB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.1053, allocations: 0.4999 MB / 0.4888 GB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.1056, allocations: 311.3 kB / 0.4891 GB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1057, allocations: 81.61 kB / 0.4892 GB, free: 10.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1058, allocations: 341.9 kB / 0.4895 GB, free: 10.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008087/0.1066, allocations: 0.5055 MB / 0.49 GB, free: 9.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008461/0.1075, allocations: 0.5801 MB / 0.4905 GB, free: 9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.1091, allocations: 1.081 MB / 0.4916 GB, free: 7.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1091, allocations: 0 / 0.4916 GB, free: 7.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002516/0.1116, allocations: 1.589 MB / 0.4932 GB, free: 6.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1117, allocations: 4 kB / 0.4932 GB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1117, allocations: 7.938 kB / 0.4932 GB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.1127, allocations: 499 kB / 0.4936 GB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.1133, allocations: 139.8 kB / 0.4938 GB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007944/0.1213, allocations: 8.748 MB / 0.5023 GB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.1218, allocations: 56.05 kB / 0.5024 GB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.1218, allocations: 24 kB / 0.5024 GB, free: 12.28 MB / 350.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.0005945/0.1224, allocations: 0.4974 MB / 0.5029 GB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.1226, allocations: 94.88 kB / 0.503 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.1229, allocations: 137.2 kB / 0.5031 GB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.1229, allocations: 16 kB / 0.5031 GB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1229, allocations: 480 / 0.5031 GB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.1229, allocations: 4.109 kB / 0.5031 GB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/0.1278, allocations: 3.227 MB / 0.5063 GB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1278, allocations: 0 / 0.5063 GB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.1284, allocations: 123.9 kB / 0.5064 GB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009938/0.1294, allocations: 491 kB / 0.5069 GB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.1294, allocations: 19.98 kB / 0.5069 GB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007773/0.1372, allocations: 8.677 MB / 0.5153 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1372, allocations: 4.031 kB / 0.5154 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/0.1407, allocations: 2.366 MB / 0.5177 GB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.1411, allocations: 299.9 kB / 0.5179 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.1412, allocations: 24.19 kB / 0.518 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.1417, allocations: 71.92 kB / 0.518 GB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.1419, allocations: 80.88 kB / 0.5181 GB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.142, allocations: 28 kB / 0.5181 GB, free: 11.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007245/0.1427, allocations: 0.6283 MB / 0.5188 GB, free: 10.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1427, allocations: 0 / 0.5188 GB, free: 10.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00104/0.1438, allocations: 312 kB / 0.5191 GB, free: 10.52 MB / 366.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.0001588/0.1439, allocations: 133.3 kB / 0.5192 GB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.1465, allocations: 1.799 MB / 0.5209 GB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1465, allocations: 4.125 kB / 0.5209 GB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.1481, allocations: 1.269 MB / 0.5222 GB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.1493, allocations: 265 kB / 0.5224 GB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.1537, allocations: 3.452 MB / 0.5258 GB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009083/0.1546, allocations: 1.392 MB / 0.5272 GB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.1548, allocations: 55.44 kB / 0.5272 GB, free: 1.992 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1548, allocations: 0 / 0.5272 GB, free: 1.992 MB / 366.1 MB Notification: Performance of Templates: time 0.1738/0.3286, allocations: 41.03 MB / 0.5673 GB, free: 41.45 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile (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)