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.0008739/0.0008739, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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 0.9276/0.9276, allocations: 177.2 MB / 200 MB, free: 5.527 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.001304/0.001304, allocations: 167.8 kB / 256.6 MB, free: 12.98 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.02342/0.02342, allocations: 6.66 MB / 319.8 MB, free: 26.52 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 1.493e-06/1.493e-06, allocations: 0 / 391.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.865e-05, allocations: 2.312 kB / 391.6 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004434/0.004462, allocations: 4.481 MB / 396.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.006594, allocations: 1.219 MB / 397.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.006964, allocations: 31.75 kB / 397.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.00728, allocations: 186.6 kB / 397.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009621/0.008242, allocations: 381.5 kB / 397.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.008608, allocations: 183.7 kB / 398.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.009912, allocations: 1.711 MB / 399.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00074/0.01065, allocations: 0.5997 MB / 400.4 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.01203, allocations: 1.064 MB / 401.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.01312, allocations: 0.8458 MB / 402.3 MB, free: 7.801 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002891/0.01341, allocations: 180 kB / 402.5 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.01369, allocations: 184 kB / 402.7 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.01404, allocations: 0.5259 MB / 403.2 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006622/0.0147, allocations: 0.5769 MB / 403.8 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.01608, allocations: 1.39 MB / 405.2 MB, free: 4.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01609, allocations: 0 / 405.2 MB, free: 4.945 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01609, allocations: 0 / 405.2 MB, free: 4.945 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.963e-05/0.01613, allocations: 0 / 405.2 MB, free: 4.945 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.00224/0.01837, allocations: 1.913 MB / 407.1 MB, free: 2.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.01841, allocations: 12.02 kB / 407.1 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.01881, allocations: 267.9 kB / 407.4 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009399/0.01975, allocations: 0.8678 MB / 408.2 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.01979, allocations: 90.61 kB / 408.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.01991, allocations: 108.4 kB / 408.4 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.02116, allocations: 1.048 MB / 409.5 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.02118, allocations: 3.938 kB / 409.5 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.02125, allocations: 48 kB / 409.5 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/0.0213, allocations: 50.23 kB / 409.6 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1138/0.1352, allocations: 448.2 kB / 410 MB, free: 80.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005512/0.1407, allocations: 4.041 MB / 414 MB, free: 78.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.1419, allocations: 0.8106 MB / 414.9 MB, free: 78.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/0.1425, allocations: 379.4 kB / 415.2 MB, free: 78.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.1425, allocations: 17.78 kB / 415.2 MB, free: 78.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1425, allocations: 47.42 kB / 415.3 MB, free: 78.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 3.356e-06/0.1425, allocations: 0.6562 kB / 415.3 MB, free: 78.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.004274/0.1468, allocations: 2.095 MB / 417.4 MB, free: 77.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.1468, allocations: 62.14 kB / 417.4 MB, free: 77.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008287/0.1477, allocations: 0.7199 MB / 418.2 MB, free: 77.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.1477, allocations: 42.7 kB / 418.2 MB, free: 77.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.148, allocations: 0.5849 MB / 418.8 MB, free: 76.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.1482, allocations: 334.6 kB / 419.1 MB, free: 76.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.1484, allocations: 163.5 kB / 419.3 MB, free: 76.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1486, allocations: 0.6017 MB / 419.9 MB, free: 76.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.1489, allocations: 129.4 kB / 420 MB, free: 76.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.1493, allocations: 243.2 kB / 420.2 MB, free: 76.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006743/0.15, allocations: 405.5 kB / 420.6 MB, free: 75.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.15, allocations: 5.938 kB / 420.6 MB, free: 75.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001331/0.1513, allocations: 0.7509 MB / 421.4 MB, free: 75.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.1513, allocations: 6.5 kB / 421.4 MB, free: 75.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1514, allocations: 0.8438 kB / 421.4 MB, free: 75.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/0.152, allocations: 263 kB / 421.7 MB, free: 75.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.1524, allocations: 130.9 kB / 421.8 MB, free: 75.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/0.1569, allocations: 9.244 MB / 431 MB, free: 66.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.1573, allocations: 44.19 kB / 431.1 MB, free: 66.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.1573, allocations: 20.5 kB / 431.1 MB, free: 66.89 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.0002627/0.1576, allocations: 208 kB / 431.3 MB, free: 66.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.1577, allocations: 126.6 kB / 431.4 MB, free: 66.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1578, allocations: 118 kB / 431.5 MB, free: 66.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1579, allocations: 9.625 kB / 431.5 MB, free: 66.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.1579, allocations: 1.375 kB / 431.6 MB, free: 66.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1579, allocations: 8.062 kB / 431.6 MB, free: 66.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.1607, allocations: 1.996 MB / 433.6 MB, free: 65.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1607, allocations: 1.938 kB / 433.6 MB, free: 65.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.161, allocations: 110.5 kB / 433.7 MB, free: 65.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/0.1615, allocations: 261.5 kB / 433.9 MB, free: 65.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.1616, allocations: 21.52 kB / 433.9 MB, free: 65.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/0.165, allocations: 9.192 MB / 443.1 MB, free: 56.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.165, allocations: 0 / 443.1 MB, free: 56.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.1661, allocations: 1.103 MB / 444.2 MB, free: 55.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.1664, allocations: 206.8 kB / 444.4 MB, free: 55.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.1664, allocations: 19.94 kB / 444.5 MB, free: 55.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.1666, allocations: 55.94 kB / 444.5 MB, free: 55.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.1668, allocations: 100.8 kB / 444.6 MB, free: 55.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.1668, allocations: 24 kB / 444.6 MB, free: 55.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003089/0.1671, allocations: 459.7 kB / 445.1 MB, free: 54.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1671, allocations: 0 / 445.1 MB, free: 54.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007892/0.1679, allocations: 312 kB / 445.4 MB, free: 54.33 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.0001246/0.168, allocations: 122 kB / 445.5 MB, free: 54.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.1691, allocations: 1.336 MB / 446.8 MB, free: 52.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1691, allocations: 3.938 kB / 446.8 MB, free: 52.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.1697, allocations: 1.14 MB / 448 MB, free: 51.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.1703, allocations: 284.4 kB / 448.3 MB, free: 51.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.1728, allocations: 2.346 MB / 450.6 MB, free: 48.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1731, allocations: 416.5 kB / 451 MB, free: 48.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.1733, allocations: 139.6 kB / 451.2 MB, free: 48.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1734, allocations: 56.5 kB / 451.2 MB, free: 48.34 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1734, allocations: 0 / 451.2 MB, free: 48.34 MB / 330.7 MB Notification: Performance of Templates: time 0.0184/0.1918, allocations: 19.98 MB / 471.2 MB, free: 28.68 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.6163530382327735]