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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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: "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000772/0.0007721, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.378/1.378, allocations: 223.2 MB / 239 MB, free: 5.449 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.0009981/0.0009981, allocations: 176.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03294/0.03294, allocations: 8.785 MB / 350.2 MB, free: 4.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004275, allocations: 10.47 kB / 413.3 MB, free: 42.97 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1049, allocations: 52.57 MB / 465.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004257/0.1092, allocations: 3.891 MB / 469.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1113, allocations: 1.114 MB / 470.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004829/0.1118, allocations: 19.88 kB / 470.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.1122, allocations: 127 kB / 471 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.1133, allocations: 318.4 kB / 471.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.1137, allocations: 103.9 kB / 471.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.1155, allocations: 1.724 MB / 473.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.1167, allocations: 0.7628 MB / 473.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009158/0.1176, allocations: 0.5175 MB / 474.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.1188, allocations: 0.6887 MB / 475.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.1191, allocations: 72 kB / 475.2 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.1194, allocations: 76 kB / 475.2 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004169/0.1198, allocations: 382.8 kB / 475.6 MB, free: 3.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004485/0.1203, allocations: 305 kB / 475.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.1219, allocations: 1.851 MB / 477.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1219, allocations: 0 / 477.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1219, allocations: 0 / 477.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.42e-05/0.122, allocations: 0 / 477.8 MB, free: 1.395 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.003043/0.1251, allocations: 1.594 MB / 479.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.1251, allocations: 12.02 kB / 479.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/0.1254, allocations: 173.2 kB / 479.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.1256, allocations: 158.1 kB / 479.7 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.1271, allocations: 0.9184 MB / 480.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.1272, allocations: 82.23 kB / 480.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.1274, allocations: 116 kB / 480.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.1302, allocations: 1.685 MB / 482.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.1302, allocations: 4 kB / 482.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.1303, allocations: 47.98 kB / 482.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-05/0.1304, allocations: 54.17 kB / 482.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.133, allocations: 1.566 MB / 484.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00659/0.1396, allocations: 5.033 MB / 489.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.1418, allocations: 2.584 MB / 491.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.1429, allocations: 0.8719 MB / 492.6 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.143, allocations: 13 kB / 492.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.143, allocations: 43.55 kB / 492.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.415e-06/0.143, allocations: 0 / 492.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=93): time 0.006937/0.15, allocations: 4.129 MB / 496.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.15, allocations: 64.41 kB / 496.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/0.151, allocations: 0.8715 MB / 497.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.1511, allocations: 45.64 kB / 497.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.1516, allocations: 0.5038 MB / 498.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.1518, allocations: 303.4 kB / 498.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.1518, allocations: 20 kB / 498.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.152, allocations: 337.9 kB / 499 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007753/0.1527, allocations: 0.5055 MB / 499.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008257/0.1536, allocations: 0.5723 MB / 0.4883 GB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.1544, allocations: 0.5534 MB / 0.4889 GB, free: 9.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1544, allocations: 4 kB / 0.4889 GB, free: 9.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002332/0.1568, allocations: 1.581 MB / 0.4904 GB, free: 8.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1568, allocations: 9.875 kB / 0.4904 GB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1568, allocations: 4.031 kB / 0.4904 GB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009961/0.1578, allocations: 491 kB / 0.4909 GB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.1583, allocations: 139.8 kB / 0.491 GB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008056/0.1664, allocations: 8.737 MB / 0.4996 GB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.1669, allocations: 56.56 kB / 0.4996 GB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.167, allocations: 20 kB / 0.4996 GB, free: 14.23 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_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.0007213/0.1677, allocations: 0.4981 MB / 0.5001 GB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.1679, allocations: 98.83 kB / 0.5002 GB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.1681, allocations: 129.3 kB / 0.5003 GB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.1681, allocations: 12 kB / 0.5003 GB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.1682, allocations: 7.922 kB / 0.5003 GB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1682, allocations: 7.984 kB / 0.5004 GB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004818/0.173, allocations: 3.216 MB / 0.5035 GB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.173, allocations: 0 / 0.5035 GB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.1735, allocations: 119.9 kB / 0.5036 GB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000941/0.1745, allocations: 483.1 kB / 0.5041 GB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.1746, allocations: 20 kB / 0.5041 GB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008238/0.1828, allocations: 8.662 MB / 0.5125 GB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1828, allocations: 4.031 kB / 0.5126 GB, free: 352 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.1864, allocations: 2.363 MB / 0.5149 GB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.1868, allocations: 291.9 kB / 0.5151 GB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.187, allocations: 27.95 kB / 0.5152 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.1875, allocations: 63.94 kB / 0.5152 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.1878, allocations: 88.94 kB / 0.5153 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/0.1878, allocations: 28 kB / 0.5153 GB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008731/0.1887, allocations: 0.6317 MB / 0.516 GB, free: 12.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1887, allocations: 0 / 0.516 GB, free: 12.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001248/0.19, allocations: 304 kB / 0.5162 GB, free: 12.51 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.003713/0.1937, allocations: 2.939 MB / 0.5191 GB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.1964, allocations: 1.807 MB / 0.5209 GB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1964, allocations: 0 / 0.5209 GB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.1981, allocations: 1.254 MB / 0.5221 GB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.1994, allocations: 280.7 kB / 0.5224 GB, free: 6.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1999/0.3993, allocations: 8.322 MB / 0.5305 GB, free: 66.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008909/0.4003, allocations: 1.411 MB / 0.5319 GB, free: 65.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005896/0.4009, allocations: 193.9 kB / 0.5321 GB, free: 65.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/0.4014, allocations: 410.9 kB / 0.5325 GB, free: 65.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.344e-06/0.4014, allocations: 0 / 0.5325 GB, free: 65.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05099/0.4524, allocations: 28.5 MB / 0.5603 GB, free: 50.09 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.4526, allocations: 201.4 kB / 0.5605 GB, free: 49.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.672, allocations: 4 kB / 0.5605 GB, free: 49.85 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Rectifier_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Rectifier.fmu > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) Environment - environmentSimulation: