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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03982/0.03982, allocations: 8.795 MB / 25.53 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 251.3 MB, free: 7.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 102.5 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 366 MB, free: 184 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1919, allocations: 51.55 MB / 417.5 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004125/0.196, allocations: 4.528 MB / 422.1 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1975, allocations: 1.139 MB / 423.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.1978, allocations: 15.94 kB / 423.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.198, allocations: 143.1 kB / 423.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006276/0.1987, allocations: 330.4 kB / 423.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1989, allocations: 147.8 kB / 423.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.2, allocations: 1.938 MB / 425.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008177/0.2008, allocations: 0.9717 MB / 426.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004845/0.2013, allocations: 0.5798 MB / 427.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006429/0.2019, allocations: 0.8055 MB / 428.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.2021, allocations: 107.9 kB / 428.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.2023, allocations: 107.9 kB / 428.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.2025, allocations: 418.6 kB / 428.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.203, allocations: 0.7309 MB / 429.5 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.2041, allocations: 2.235 MB / 431.7 MB, free: 6.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2041, allocations: 4 kB / 431.7 MB, free: 6.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2041, allocations: 0 / 431.7 MB, free: 6.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.2042, allocations: 0 / 431.7 MB, free: 6.66 MB / 298.7 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.002719/0.2069, allocations: 1.796 MB / 433.5 MB, free: 4.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2069, allocations: 12.03 kB / 433.5 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.2071, allocations: 151.2 kB / 433.7 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.2085, allocations: 0.9425 MB / 434.6 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.2085, allocations: 82.61 kB / 434.7 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.2087, allocations: 132 kB / 434.8 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.2107, allocations: 1.677 MB / 436.5 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.2107, allocations: 7.938 kB / 436.5 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-05/0.2108, allocations: 48 kB / 436.5 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.2109, allocations: 50.22 kB / 436.6 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.2128, allocations: 1.551 MB / 438.1 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00669/0.2195, allocations: 5.006 MB / 443.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.2219, allocations: 2.568 MB / 445.7 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.223, allocations: 0.8449 MB / 446.6 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.2231, allocations: 13 kB / 446.6 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.2231, allocations: 43.56 kB / 446.6 MB, free: 7.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=92): time 2.865e-06/0.2231, allocations: 0 / 446.6 MB, free: 7.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=93): time 0.00715/0.2303, allocations: 4.082 MB / 450.7 MB, free: 2.984 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.2304, allocations: 60.41 kB / 450.8 MB, free: 2.914 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009952/0.2314, allocations: 0.8755 MB / 451.6 MB, free: 2.031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.2314, allocations: 45.7 kB / 451.7 MB, free: 1.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.2318, allocations: 0.4959 MB / 452.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.232, allocations: 315.5 kB / 452.5 MB, free: 1.164 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.2322, allocations: 150.5 kB / 452.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2323, allocations: 345.9 kB / 453 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007333/0.2331, allocations: 0.4899 MB / 453.5 MB, free: 180 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007924/0.2339, allocations: 0.5684 MB / 454 MB, free: 15.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.2354, allocations: 1.065 MB / 455.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2354, allocations: 0 / 455.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002317/0.2377, allocations: 1.561 MB / 456.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2377, allocations: 4 kB / 456.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2377, allocations: 11.98 kB / 456.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.2387, allocations: 494.9 kB / 457.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.2393, allocations: 131.9 kB / 457.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007946/0.2472, allocations: 8.74 MB / 466 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.2479, allocations: 52 kB / 466.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.248, allocations: 20 kB / 466.1 MB, free: 2.941 MB / 330.7 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.0008661/0.2488, allocations: 0.4941 MB / 466.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.249, allocations: 94.88 kB / 466.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.2493, allocations: 141.2 kB / 466.8 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.2493, allocations: 12.12 kB / 466.8 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.2493, allocations: 4 kB / 466.8 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.2493, allocations: 7.984 kB / 466.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00467/0.254, allocations: 3.177 MB / 470 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.254, allocations: 0 / 470 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.2545, allocations: 124.3 kB / 470.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009129/0.2554, allocations: 486.9 kB / 470.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.2555, allocations: 23.98 kB / 470.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007577/0.2631, allocations: 8.65 MB / 479.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2631, allocations: 0 / 479.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/0.2831, allocations: 17.11 MB / 496.4 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.2836, allocations: 287.9 kB / 496.7 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.914e-05/0.2837, allocations: 27.98 kB / 496.7 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.2842, allocations: 56.31 kB / 496.8 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.2845, allocations: 92.98 kB / 496.9 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.2846, allocations: 24 kB / 496.9 MB, free: 2.754 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007317/0.2853, allocations: 0.6317 MB / 497.5 MB, free: 2.129 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2853, allocations: 7.938 kB / 497.5 MB, free: 2.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001457/0.2868, allocations: 432 kB / 497.9 MB, free: 1.699 MB / 362.7 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.2869, allocations: 124.8 kB / 498.1 MB, free: 1.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.2894, allocations: 1.776 MB / 499.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2894, allocations: 0 / 499.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.291, allocations: 1.254 MB / 0.4893 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.2921, allocations: 284.3 kB / 0.4896 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005791/0.2979, allocations: 4.563 MB / 0.4941 GB, free: 9.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009958/0.2989, allocations: 1.461 MB / 0.4955 GB, free: 8.004 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005138/0.2994, allocations: 191.8 kB / 0.4957 GB, free: 7.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.2996, allocations: 55.44 kB / 0.4957 GB, free: 7.758 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2996, allocations: 4 kB / 0.4957 GB, free: 7.754 MB / 378.7 MB Notification: Performance of Templates: time 0.2012/0.5008, allocations: 23.17 MB / 0.5184 GB, free: 79 MB / 378.7 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)