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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 85.27 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.025/1.025, allocations: 177.1 MB / 200.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 152.6 kB / 256.9 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02421/0.02421, allocations: 6.658 MB / 320.1 MB, free: 26.35 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 392.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.692e-05, allocations: 2.312 kB / 392.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.005073/0.005089, allocations: 4.437 MB / 396.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.006928, allocations: 1.211 MB / 397.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.007135, allocations: 27.81 kB / 397.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.007417, allocations: 186.5 kB / 397.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007334/0.00815, allocations: 389.4 kB / 398.3 MB, free: 12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.008421, allocations: 183.7 kB / 398.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.009485, allocations: 1.707 MB / 400.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005855/0.01007, allocations: 0.5997 MB / 400.8 MB, free: 9.469 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008185/0.01089, allocations: 1.06 MB / 401.9 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.01205, allocations: 0.8613 MB / 402.7 MB, free: 7.543 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003352/0.01238, allocations: 180 kB / 402.9 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.01267, allocations: 184 kB / 403.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003447/0.01301, allocations: 0.5259 MB / 403.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.01357, allocations: 0.573 MB / 404.2 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.01506, allocations: 1.383 MB / 405.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01506, allocations: 4 kB / 405.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01507, allocations: 0 / 405.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.009e-05/0.01511, allocations: 0 / 405.6 MB, free: 4.695 MB / 330.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.003241/0.01835, allocations: 1.839 MB / 407.4 MB, free: 2.812 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.01839, allocations: 8.031 kB / 407.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005613/0.01895, allocations: 283.9 kB / 407.7 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.02029, allocations: 0.7953 MB / 408.5 MB, free: 1.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.02036, allocations: 82.61 kB / 408.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.02053, allocations: 116.3 kB / 408.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.02196, allocations: 0.9734 MB / 409.7 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.02199, allocations: 7.875 kB / 409.7 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/0.02208, allocations: 44 kB / 409.7 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.806e-05/0.02215, allocations: 54.22 kB / 409.8 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1344/0.1565, allocations: 331.4 kB / 410.1 MB, free: 80.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.1613, allocations: 3.719 MB / 413.8 MB, free: 79.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007982/0.1621, allocations: 0.732 MB / 414.5 MB, free: 78.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.1624, allocations: 336 kB / 414.9 MB, free: 78.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.1625, allocations: 18.11 kB / 414.9 MB, free: 78.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1625, allocations: 43.52 kB / 414.9 MB, free: 78.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 3.336e-06/0.1625, allocations: 0.7188 kB / 414.9 MB, free: 78.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.002628/0.1651, allocations: 1.635 MB / 416.6 MB, free: 78.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.1652, allocations: 62.55 kB / 416.6 MB, free: 78.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.1657, allocations: 0.7031 MB / 417.3 MB, free: 77.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.1657, allocations: 45.48 kB / 417.4 MB, free: 77.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.166, allocations: 0.5912 MB / 418 MB, free: 77.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.1661, allocations: 338 kB / 418.3 MB, free: 77.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.1663, allocations: 164.2 kB / 418.4 MB, free: 77.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1664, allocations: 0.6097 MB / 419.1 MB, free: 76.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.1666, allocations: 96.58 kB / 419.1 MB, free: 76.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.1668, allocations: 215.3 kB / 419.4 MB, free: 76.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.1672, allocations: 343 kB / 419.7 MB, free: 76.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1672, allocations: 0 / 419.7 MB, free: 76.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0007933/0.168, allocations: 0.6582 MB / 420.4 MB, free: 76.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.168, allocations: 9.281 kB / 420.4 MB, free: 76.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.168, allocations: 1.969 kB / 420.4 MB, free: 76.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.1685, allocations: 233 kB / 420.6 MB, free: 76.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1688, allocations: 139.1 kB / 420.7 MB, free: 76.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.172, allocations: 9.024 MB / 429.7 MB, free: 67.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1722, allocations: 27.19 kB / 429.8 MB, free: 67.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.1723, allocations: 17.59 kB / 429.8 MB, free: 67.85 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.0001778/0.1724, allocations: 205.9 kB / 430 MB, free: 67.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1725, allocations: 128.6 kB / 430.1 MB, free: 67.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.189e-05/0.1726, allocations: 120.7 kB / 430.2 MB, free: 67.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1726, allocations: 8.969 kB / 430.2 MB, free: 67.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.1727, allocations: 11.66 kB / 430.3 MB, free: 67.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1727, allocations: 3.844 kB / 430.3 MB, free: 67.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.1746, allocations: 1.656 MB / 431.9 MB, free: 66.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1746, allocations: 1.125 kB / 431.9 MB, free: 66.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.1748, allocations: 109.5 kB / 432 MB, free: 66.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003758/0.1752, allocations: 230.9 kB / 432.3 MB, free: 66.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.1752, allocations: 25.59 kB / 432.3 MB, free: 66.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.178, allocations: 8.971 MB / 441.2 MB, free: 58.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.178, allocations: 3.375 kB / 441.3 MB, free: 58.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008536/0.1789, allocations: 0.9875 MB / 442.2 MB, free: 57.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.1791, allocations: 180.2 kB / 442.4 MB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.1791, allocations: 24 kB / 442.4 MB, free: 57.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1793, allocations: 35.05 kB / 442.5 MB, free: 57.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.1794, allocations: 78.31 kB / 442.5 MB, free: 57.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.1795, allocations: 21.12 kB / 442.6 MB, free: 57.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002228/0.1797, allocations: 418.3 kB / 443 MB, free: 57.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1797, allocations: 0 / 443 MB, free: 57.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000694/0.1804, allocations: 311.4 kB / 443.3 MB, free: 57.16 MB / 330.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.0001162/0.1805, allocations: 131.1 kB / 443.4 MB, free: 57.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007585/0.1813, allocations: 1.277 MB / 444.7 MB, free: 55.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1813, allocations: 0 / 444.7 MB, free: 55.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.1818, allocations: 1.12 MB / 445.8 MB, free: 54.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.1824, allocations: 280.7 kB / 446.1 MB, free: 54.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.1845, allocations: 2.321 MB / 448.4 MB, free: 51.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1847, allocations: 416.4 kB / 448.8 MB, free: 51.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.1849, allocations: 95.64 kB / 448.9 MB, free: 51.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.1853, allocations: 318 kB / 449.2 MB, free: 51.06 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1853, allocations: 0 / 449.2 MB, free: 51.06 MB / 330.7 MB Notification: Performance of Templates: time 0.02195/0.2072, allocations: 21.2 MB / 470.4 MB, free: 30.25 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.564120454248041]