Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.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.001093/0.001093, allocations: 93.06 kB / 19.65 MB, free: 284 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.9922/0.9922, allocations: 177.2 MB / 200 MB, free: 5.836 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.001253/0.001253, allocations: 164.5 kB / 256.6 MB, free: 13.14 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.0231/0.0231, allocations: 6.668 MB / 319.8 MB, free: 26.51 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.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 391.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.518e-05/3.695e-05, allocations: 2.312 kB / 391.6 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004143/0.00418, allocations: 3.826 MB / 395.5 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.005868, allocations: 0.9775 MB / 396.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.006117, allocations: 15.94 kB / 396.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.006302, allocations: 87.09 kB / 396.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.006737, allocations: 170.5 kB / 396.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.007186, allocations: 179.7 kB / 396.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.007866, allocations: 0.6693 MB / 397.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.008124, allocations: 185.3 kB / 397.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004611/0.008585, allocations: 403.2 kB / 398.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.008824, allocations: 211.4 kB / 398.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.429e-05/0.008888, allocations: 68 kB / 398.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.009018, allocations: 75.98 kB / 398.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.009084, allocations: 135.6 kB / 398.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.00922, allocations: 211.5 kB / 398.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.00964, allocations: 466.3 kB / 399.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.009643, allocations: 0 / 399.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.009644, allocations: 0 / 399.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.00965, allocations: 0 / 399.3 MB, free: 10.89 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0009436/0.01059, allocations: 0.8584 MB / 400.1 MB, free: 10 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.01063, allocations: 8.031 kB / 400.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.0108, allocations: 112.5 kB / 400.2 MB, free: 9.883 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.01112, allocations: 315.2 kB / 400.5 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.01115, allocations: 37.69 kB / 400.6 MB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.0112, allocations: 52.38 kB / 400.6 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.01185, allocations: 497.8 kB / 401.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.01186, allocations: 192 / 401.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.01189, allocations: 20.38 kB / 401.1 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.0119, allocations: 15.94 kB / 401.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.01218, allocations: 201.8 kB / 401.3 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.01472, allocations: 1.729 MB / 403.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.01505, allocations: 231.6 kB / 403.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.01528, allocations: 168.1 kB / 403.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.0153, allocations: 4.281 kB / 403.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.01532, allocations: 49.61 kB / 403.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.333e-06/0.01533, allocations: 0 / 403.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.002521/0.01785, allocations: 1.202 MB / 404.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.01788, allocations: 55.91 kB / 404.8 MB, free: 5.094 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.0181, allocations: 330.2 kB / 405.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.01812, allocations: 37.7 kB / 405.1 MB, free: 4.715 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.01825, allocations: 315.5 kB / 405.4 MB, free: 4.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.71e-05/0.01835, allocations: 170.6 kB / 405.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-05/0.01845, allocations: 91.8 kB / 405.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01858, allocations: 0.5195 MB / 406.2 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.0187, allocations: 68.95 kB / 406.3 MB, free: 3.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.01886, allocations: 182.3 kB / 406.5 MB, free: 3.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.01916, allocations: 290.7 kB / 406.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01917, allocations: 3.938 kB / 406.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005461/0.01971, allocations: 420.7 kB / 407.2 MB, free: 2.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.01974, allocations: 8 kB / 407.2 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.01975, allocations: 7.984 kB / 407.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.02001, allocations: 91.25 kB / 407.3 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.02027, allocations: 107.9 kB / 407.4 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1358/0.1561, allocations: 4.267 MB / 411.6 MB, free: 78.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.1563, allocations: 20.27 kB / 411.7 MB, free: 78.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.1564, allocations: 17.56 kB / 411.7 MB, free: 78.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.1565, allocations: 181.6 kB / 411.9 MB, free: 78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.1566, allocations: 52.81 kB / 411.9 MB, free: 78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.1566, allocations: 51.69 kB / 412 MB, free: 78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.1566, allocations: 4.25 kB / 412 MB, free: 78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.1567, allocations: 6.797 kB / 412 MB, free: 78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1567, allocations: 2.5 kB / 412 MB, free: 78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000931/0.1576, allocations: 0.8373 MB / 412.8 MB, free: 77.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1576, allocations: 1.562 kB / 412.8 MB, free: 77.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.1578, allocations: 84.3 kB / 412.9 MB, free: 77.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.158, allocations: 88 kB / 413 MB, free: 77.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.1581, allocations: 12.11 kB / 413 MB, free: 77.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.1595, allocations: 4.266 MB / 417.3 MB, free: 73.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1595, allocations: 5 kB / 417.3 MB, free: 73.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/0.1601, allocations: 0.5945 MB / 417.9 MB, free: 73.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1602, allocations: 65.89 kB / 417.9 MB, free: 73.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.1603, allocations: 14.91 kB / 417.9 MB, free: 73.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1604, allocations: 24.67 kB / 418 MB, free: 73.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.1605, allocations: 36.69 kB / 418 MB, free: 73.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.1605, allocations: 14.69 kB / 418 MB, free: 73.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1606, allocations: 223.9 kB / 418.2 MB, free: 73.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1606, allocations: 0 / 418.2 MB, free: 73.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004924/0.1611, allocations: 121 kB / 418.3 MB, free: 73.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (transformer.converter1.i,transformer.eddyCurrent.Phi) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.1613, allocations: 109 kB / 418.4 MB, free: 73.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007981/0.1621, allocations: 0.6403 MB / 419.1 MB, free: 72.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1621, allocations: 0.9688 kB / 419.1 MB, free: 72.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.1625, allocations: 0.5226 MB / 419.6 MB, free: 72.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1629, allocations: 53.41 kB / 419.7 MB, free: 72.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1646, allocations: 0.918 MB / 420.6 MB, free: 72.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.1647, allocations: 123.6 kB / 420.7 MB, free: 72.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.1649, allocations: 43.94 kB / 420.7 MB, free: 72.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.165, allocations: 33.62 kB / 420.8 MB, free: 72.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.163e-06/0.165, allocations: 0 / 420.8 MB, free: 72.09 MB / 330.7 MB Notification: Performance of Templates: time 0.009753/0.1747, allocations: 4.901 MB / 425.7 MB, free: 71.36 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.TestTransformer.sim & ./HanserModelica_HanserModelica.Magnetic.TestTransformer -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.314261748921126]