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.001817/0.001817, allocations: 81.5 kB / 19.44 MB, free: 340 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 1.613/1.613, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 MB " [Timeout remaining time 178] 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.002208/0.002208, allocations: 160.6 kB / 256.3 MB, free: 13.16 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.04083/0.04083, allocations: 6.656 MB / 319.4 MB, free: 26.58 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.843e-06/1.843e-06, allocations: 0 / 390.9 MB, free: 2.988 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.312e-05, allocations: 5.828 kB / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.006028/0.006061, allocations: 3.776 MB / 394.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.00838, allocations: 0.9736 MB / 395.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.008701, allocations: 19.94 kB / 395.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.008963, allocations: 91.08 kB / 395.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.00944, allocations: 162.4 kB / 395.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.0099, allocations: 191.6 kB / 396.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008476/0.01075, allocations: 0.6732 MB / 396.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.01115, allocations: 185.4 kB / 397 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.01176, allocations: 399.2 kB / 397.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.01214, allocations: 211.4 kB / 397.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.01224, allocations: 68 kB / 397.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.01239, allocations: 72 kB / 397.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.01254, allocations: 135.6 kB / 397.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.01279, allocations: 215.5 kB / 398 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009509/0.01374, allocations: 0.7633 MB / 398.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01374, allocations: 0 / 398.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01375, allocations: 4 kB / 398.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.01375, allocations: 0 / 398.8 MB, free: 11.04 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.001653/0.01541, allocations: 0.9166 MB / 399.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.01545, allocations: 8.031 kB / 399.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.01575, allocations: 108.6 kB / 399.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.01635, allocations: 316.5 kB / 400.1 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.01642, allocations: 45.69 kB / 400.2 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.667e-05/0.01652, allocations: 48.38 kB / 400.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.0177, allocations: 0.6222 MB / 400.9 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.01772, allocations: 4.188 kB / 400.9 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.01778, allocations: 20.38 kB / 400.9 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.01779, allocations: 15.94 kB / 400.9 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.01863, allocations: 375.8 kB / 401.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.02203, allocations: 2.036 MB / 403.3 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/0.02278, allocations: 307.2 kB / 403.6 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005567/0.02334, allocations: 212.1 kB / 403.8 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.02337, allocations: 4.281 kB / 403.8 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.02342, allocations: 49.61 kB / 403.9 MB, free: 5.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.02342, allocations: 0 / 403.9 MB, free: 5.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.004859/0.02828, allocations: 1.522 MB / 405.4 MB, free: 4.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.02834, allocations: 55.91 kB / 405.4 MB, free: 4.133 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.02885, allocations: 402.2 kB / 405.8 MB, free: 3.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.013e-05/0.02889, allocations: 33.7 kB / 405.9 MB, free: 3.684 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.02915, allocations: 331.5 kB / 406.2 MB, free: 3.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.02934, allocations: 182.5 kB / 406.4 MB, free: 3.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.02952, allocations: 115.8 kB / 406.5 MB, free: 3.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003245/0.02985, allocations: 0.5469 MB / 407 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.03017, allocations: 136.9 kB / 407.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.03067, allocations: 270.3 kB / 407.4 MB, free: 2.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.03183, allocations: 458.6 kB / 407.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.03184, allocations: 0 / 407.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001284/0.03312, allocations: 0.5709 MB / 408.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.03314, allocations: 4 kB / 408.4 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.03315, allocations: 4 kB / 408.4 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/0.03356, allocations: 123.3 kB / 408.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.03402, allocations: 99.88 kB / 408.7 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1531/0.1871, allocations: 4.577 MB / 413.2 MB, free: 79.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.1875, allocations: 15.84 kB / 413.3 MB, free: 79.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.1875, allocations: 19.19 kB / 413.3 MB, free: 79.06 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.0002768/0.1878, allocations: 233 kB / 413.5 MB, free: 78.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1879, allocations: 56.23 kB / 413.6 MB, free: 78.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.754e-05/0.188, allocations: 47.44 kB / 413.6 MB, free: 78.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.188, allocations: 6.406 kB / 413.6 MB, free: 78.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.188, allocations: 4.562 kB / 413.6 MB, free: 78.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.188, allocations: 3.281 kB / 413.6 MB, free: 78.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.1898, allocations: 1.101 MB / 414.7 MB, free: 78.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1898, allocations: 1.484 kB / 414.7 MB, free: 78.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.1902, allocations: 80.28 kB / 414.8 MB, free: 78.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/0.1905, allocations: 110.5 kB / 414.9 MB, free: 78.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.1906, allocations: 11.75 kB / 414.9 MB, free: 78.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.1934, allocations: 4.581 MB / 419.5 MB, free: 74.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1934, allocations: 4.469 kB / 419.5 MB, free: 74.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.1948, allocations: 0.8373 MB / 420.3 MB, free: 73.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1949, allocations: 69.89 kB / 420.4 MB, free: 73.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.1949, allocations: 9.156 kB / 420.4 MB, free: 73.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.1952, allocations: 26.89 kB / 420.4 MB, free: 73.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.1953, allocations: 41.02 kB / 420.5 MB, free: 73.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.1954, allocations: 13.75 kB / 420.5 MB, free: 73.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002879/0.1957, allocations: 261.9 kB / 420.8 MB, free: 73.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1957, allocations: 1.094 kB / 420.8 MB, free: 73.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006857/0.1963, allocations: 119.8 kB / 420.9 MB, free: 73.39 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.0001395/0.1965, allocations: 109 kB / 421 MB, free: 73.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.1978, allocations: 0.7849 MB / 421.8 MB, free: 72.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1978, allocations: 1.062 kB / 421.8 MB, free: 72.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007558/0.1985, allocations: 0.6056 MB / 422.4 MB, free: 72.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1989, allocations: 54 kB / 422.4 MB, free: 72.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.2007, allocations: 0.9825 MB / 423.4 MB, free: 71.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.2009, allocations: 243.1 kB / 423.6 MB, free: 71.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.2011, allocations: 38.44 kB / 423.7 MB, free: 71.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-05/0.2012, allocations: 31.56 kB / 423.7 MB, free: 71.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2012, allocations: 0 / 423.7 MB, free: 71.68 MB / 330.7 MB Notification: Performance of Templates: time 0.01093/0.2121, allocations: 4.736 MB / 428.4 MB, free: 70.58 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: 5.018588877050206]