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.0009755/0.0009755, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.493/1.493, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.001635/0.001636, allocations: 185 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03545/0.03545, allocations: 8.79 MB / 350.1 MB, free: 4.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 11.67 kB / 413.1 MB, free: 43.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1067, allocations: 52.56 MB / 465.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.005092/0.1119, allocations: 3.655 MB / 469.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.1146, allocations: 1.15 MB / 470.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006991/0.1153, allocations: 19.88 kB / 470.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.116, allocations: 139.2 kB / 470.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.1177, allocations: 299.1 kB / 470.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.1182, allocations: 107.9 kB / 471 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.1198, allocations: 0.9939 MB / 472 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.1209, allocations: 0.7706 MB / 472.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008303/0.1217, allocations: 486.3 kB / 473.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.1228, allocations: 0.5875 MB / 473.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002858/0.1231, allocations: 76 kB / 473.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.1235, allocations: 76 kB / 474 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004222/0.1239, allocations: 350.9 kB / 474.3 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004709/0.1244, allocations: 305 kB / 474.6 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.1263, allocations: 1.854 MB / 476.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1263, allocations: 0 / 476.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1263, allocations: 0 / 476.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001019/0.1265, allocations: 0 / 476.5 MB, free: 2.676 MB / 302.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.00387/0.1303, allocations: 1.582 MB / 478.1 MB, free: 1.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1304, allocations: 12.03 kB / 478.1 MB, free: 1.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/0.1307, allocations: 158.1 kB / 478.2 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.1322, allocations: 0.9146 MB / 479.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.1323, allocations: 82.23 kB / 479.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.1325, allocations: 108 kB / 479.3 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.1352, allocations: 1.685 MB / 481 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1352, allocations: 7.938 kB / 481 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.1353, allocations: 44 kB / 481.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/0.1354, allocations: 46.23 kB / 481.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.1378, allocations: 1.578 MB / 482.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007284/0.1451, allocations: 5.033 MB / 487.7 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.1475, allocations: 2.582 MB / 490.3 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.674e-05/0.1476, allocations: 13 kB / 490.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1477, allocations: 47.44 kB / 490.4 MB, free: 4.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 3.226e-06/0.1477, allocations: 0 / 490.4 MB, free: 4.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=93): time 0.007395/0.1551, allocations: 4.124 MB / 494.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1551, allocations: 64.36 kB / 494.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.1562, allocations: 0.8637 MB / 495.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.1563, allocations: 45.7 kB / 495.5 MB, free: 15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.1566, allocations: 0.5076 MB / 496 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.1568, allocations: 307.5 kB / 496.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1569, allocations: 16 kB / 496.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.157, allocations: 341.9 kB / 496.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.1577, allocations: 0.4977 MB / 497.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007698/0.1585, allocations: 0.5684 MB / 497.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.1593, allocations: 0.5534 MB / 498.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1594, allocations: 4 kB / 498.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002342/0.1617, allocations: 1.585 MB / 499.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1617, allocations: 4 kB / 499.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1617, allocations: 4 kB / 499.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009971/0.1627, allocations: 487 kB / 0.4886 GB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.1633, allocations: 147.8 kB / 0.4887 GB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008483/0.1718, allocations: 8.878 MB / 0.4974 GB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/0.1725, allocations: 56.05 kB / 0.4974 GB, free: 484 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.1727, allocations: 27.98 kB / 0.4975 GB, free: 456 kB / 334.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_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 initialization (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000968/0.1737, allocations: 497.5 kB / 0.4979 GB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.1739, allocations: 106.8 kB / 0.498 GB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.1742, allocations: 125.3 kB / 0.4982 GB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.1742, allocations: 8 kB / 0.4982 GB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.1742, allocations: 8 kB / 0.4982 GB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.1742, allocations: 3.984 kB / 0.4982 GB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005976/0.1802, allocations: 3.212 MB / 0.5013 GB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.1802, allocations: 8.047 kB / 0.5013 GB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.1808, allocations: 127.8 kB / 0.5014 GB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009784/0.1817, allocations: 483.2 kB / 0.5019 GB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.1818, allocations: 20 kB / 0.5019 GB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008489/0.1903, allocations: 8.792 MB / 0.5105 GB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1904, allocations: 4.062 kB / 0.5105 GB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/0.1941, allocations: 2.397 MB / 0.5129 GB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/0.1947, allocations: 291.8 kB / 0.5131 GB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.195, allocations: 20 kB / 0.5132 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.1956, allocations: 67.92 kB / 0.5132 GB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.1958, allocations: 84.88 kB / 0.5133 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-05/0.1959, allocations: 31.98 kB / 0.5133 GB, free: 15.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009657/0.1968, allocations: 0.6161 MB / 0.5139 GB, free: 14.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.655e-06/0.1969, allocations: 0 / 0.5139 GB, free: 14.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001393/0.1983, allocations: 315.9 kB / 0.5142 GB, free: 14.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002726/0.1985, allocations: 136.3 kB / 0.5144 GB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.2015, allocations: 1.792 MB / 0.5161 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.2016, allocations: 4.125 kB / 0.5161 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.2033, allocations: 1.258 MB / 0.5173 GB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.2046, allocations: 265.1 kB / 0.5176 GB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.2107, allocations: 3.323 MB / 0.5208 GB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.2122, allocations: 1.439 MB / 0.5222 GB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000683/0.2129, allocations: 187.8 kB / 0.5224 GB, free: 6.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.2131, allocations: 55.44 kB / 0.5225 GB, free: 5.953 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2131, allocations: 4 kB / 0.5225 GB, free: 5.949 MB / 366.1 MB Notification: Performance of Templates: time 0.2144/0.4276, allocations: 18.78 MB / 0.5408 GB, free: 63.78 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: