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.001351/0.001351, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 239 MB, free: 4.723 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.001625/0.001625, allocations: 192.4 kB / 289.3 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03323/0.03323, allocations: 8.798 MB / 348.2 MB, free: 4.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 78.59 kB / 410.6 MB, free: 42.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1137, allocations: 51.57 MB / 462.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.005601/0.1194, allocations: 4.515 MB / 466.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1218, allocations: 1.141 MB / 467.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.1222, allocations: 23.88 kB / 467.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1225, allocations: 139.1 kB / 468 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008732/0.1234, allocations: 330.4 kB / 468.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1237, allocations: 151.8 kB / 468.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.1252, allocations: 1.642 MB / 470.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.1263, allocations: 1.15 MB / 471.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006955/0.127, allocations: 0.7126 MB / 471.9 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009345/0.128, allocations: 0.8757 MB / 472.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.1282, allocations: 180 kB / 473 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.1284, allocations: 187.9 kB / 473.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003848/0.1288, allocations: 0.4948 MB / 473.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000692/0.1295, allocations: 0.8089 MB / 474.5 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.1312, allocations: 2.325 MB / 476.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1312, allocations: 0 / 476.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1312, allocations: 0 / 476.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.1313, allocations: 4 kB / 476.8 MB, free: 15.99 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.003065/0.1343, allocations: 1.8 MB / 478.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1344, allocations: 12.03 kB / 478.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.1347, allocations: 151.2 kB / 478.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.136, allocations: 0.9425 MB / 479.7 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-05/0.136, allocations: 82.61 kB / 479.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.1362, allocations: 116.1 kB / 479.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.1388, allocations: 1.689 MB / 481.6 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.1388, allocations: 0 / 481.6 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.139, allocations: 48 kB / 481.6 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-05/0.139, allocations: 46.22 kB / 481.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.1413, allocations: 1.558 MB / 483.2 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006612/0.1479, allocations: 4.994 MB / 488.2 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.1503, allocations: 2.578 MB / 490.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.1514, allocations: 0.8566 MB / 491.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.1515, allocations: 13 kB / 491.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1516, allocations: 43.55 kB / 491.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.755e-06/0.1516, allocations: 0 / 491.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of matching and sorting (n=93): time 0.007851/0.1594, allocations: 4.074 MB / 495.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.1595, allocations: 60.41 kB / 495.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.1609, allocations: 0.8793 MB / 496.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.1611, allocations: 41.7 kB / 496.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.1615, allocations: 0.5038 MB / 497.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.1618, allocations: 299.6 kB / 497.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.1621, allocations: 154.6 kB / 497.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1622, allocations: 345.9 kB / 498.1 MB, free: 10 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008035/0.163, allocations: 497.6 kB / 498.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.1639, allocations: 0.5645 MB / 499.1 MB, free: 8.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.1657, allocations: 1.069 MB / 0.4885 GB, free: 7.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1658, allocations: 0 / 0.4885 GB, free: 7.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003244/0.169, allocations: 1.569 MB / 0.49 GB, free: 6.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.1691, allocations: 4 kB / 0.49 GB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.1691, allocations: 4 kB / 0.49 GB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.1702, allocations: 495 kB / 0.4905 GB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.1707, allocations: 143.8 kB / 0.4906 GB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009188/0.1799, allocations: 9.601 MB / 0.5 GB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/0.1808, allocations: 47.95 kB / 0.5 GB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.1809, allocations: 23.98 kB / 0.5001 GB, free: 11.39 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.0008888/0.1817, allocations: 0.4975 MB / 0.5005 GB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.1819, allocations: 98.94 kB / 0.5006 GB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.1822, allocations: 133.3 kB / 0.5008 GB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1822, allocations: 12 kB / 0.5008 GB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.1822, allocations: 0 / 0.5008 GB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1822, allocations: 3.984 kB / 0.5008 GB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005053/0.1873, allocations: 3.185 MB / 0.5039 GB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/0.1873, allocations: 3.984 kB / 0.5039 GB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.1879, allocations: 111.9 kB / 0.504 GB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009989/0.1889, allocations: 487 kB / 0.5045 GB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.1889, allocations: 27.98 kB / 0.5045 GB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008284/0.1972, allocations: 9.531 MB / 0.5138 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1973, allocations: 3.938 kB / 0.5138 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003967/0.2012, allocations: 2.347 MB / 0.5161 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006354/0.2019, allocations: 284 kB / 0.5164 GB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.202, allocations: 24.11 kB / 0.5164 GB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.2026, allocations: 63.94 kB / 0.5164 GB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003249/0.2029, allocations: 88.81 kB / 0.5165 GB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.2029, allocations: 23.98 kB / 0.5166 GB, free: 9.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000861/0.2038, allocations: 0.6317 MB / 0.5172 GB, free: 9.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2038, allocations: 0 / 0.5172 GB, free: 9.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001283/0.2051, allocations: 312 kB / 0.5175 GB, free: 8.852 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.0002047/0.2053, allocations: 124.3 kB / 0.5176 GB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003574/0.2089, allocations: 2.084 MB / 0.5196 GB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2089, allocations: 192 / 0.5196 GB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001697/0.2106, allocations: 1.262 MB / 0.5209 GB, free: 5.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.2119, allocations: 290.6 kB / 0.5211 GB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/0.2172, allocations: 3.353 MB / 0.5244 GB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.2185, allocations: 1.416 MB / 0.5258 GB, free: 160 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.1762/0.3948, allocations: 183.9 kB / 0.526 GB, free: 67.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.3951, allocations: 62.52 kB / 0.526 GB, free: 67.09 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3951, allocations: 0.5625 kB / 0.526 GB, free: 67.09 MB / 366.1 MB Notification: Performance of Templates: time 0.03099/0.4261, allocations: 20.51 MB / 0.546 GB, free: 60.8 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)