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.00103/0.00103, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002696, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.015/1.015, allocations: 177.2 MB / 188.4 MB, free: 4.387 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2101/1.225, allocations: 53.65 MB / 242 MB, free: 2.59 MB / 234.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.001169/0.001169, allocations: 151.8 kB / 242.9 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.002278, allocations: 479.3 kB / 243.4 MB, free: 1.254 MB / 234.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.02337/0.02337, allocations: 6.654 MB / 250.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005141/0.02851, allocations: 2.668 MB / 253.5 MB, free: 7.387 MB / 250.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.713e-06/1.713e-06, allocations: 0 / 254.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.591e-05, allocations: 6.312 kB / 254.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.006074/0.0061, allocations: 3.855 MB / 258.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.008754, allocations: 1.024 MB / 259.6 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.009211, allocations: 12 kB / 259.6 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.009457, allocations: 87.09 kB / 259.7 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000497/0.009954, allocations: 166.5 kB / 259.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.01046, allocations: 175.7 kB / 260 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008403/0.0113, allocations: 0.6695 MB / 260.7 MB, free: 100 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.01169, allocations: 207.2 kB / 260.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.01271, allocations: 435.6 kB / 261.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006918/0.01341, allocations: 211.4 kB / 261.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.01364, allocations: 68 kB / 261.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.01385, allocations: 68 kB / 261.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.01397, allocations: 107.6 kB / 261.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.01421, allocations: 179.7 kB / 262 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006812/0.01489, allocations: 418.6 kB / 262.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605e-05/0.01491, allocations: 7.938 kB / 262.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.01491, allocations: 4 kB / 262.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.842e-05/0.01494, allocations: 0 / 262.4 MB, free: 14.42 MB / 266.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.001575/0.01651, allocations: 0.8544 MB / 263.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.01656, allocations: 8.031 kB / 263.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.01687, allocations: 166 kB / 263.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.01739, allocations: 232.5 kB / 263.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.01745, allocations: 41.67 kB / 263.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-05/0.01753, allocations: 60.31 kB / 263.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/0.01826, allocations: 461.3 kB / 264.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.01828, allocations: 8.125 kB / 264.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.01832, allocations: 24.38 kB / 264.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.01833, allocations: 15.94 kB / 264.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.01866, allocations: 130.9 kB / 264.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.02105, allocations: 1.343 MB / 265.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.02147, allocations: 185.9 kB / 265.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.02173, allocations: 141.3 kB / 266 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.02176, allocations: 4.281 kB / 266 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.02181, allocations: 38.84 kB / 266.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 4.489e-06/0.02181, allocations: 0 / 266.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.003029/0.02484, allocations: 1.171 MB / 267.2 MB, free: 9.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.02489, allocations: 55.91 kB / 267.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.02518, allocations: 262.9 kB / 267.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.02522, allocations: 37.69 kB / 267.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.02539, allocations: 245.3 kB / 267.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.02553, allocations: 166.5 kB / 268 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.02567, allocations: 94.08 kB / 268.1 MB, free: 8.445 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.02582, allocations: 346.7 kB / 268.4 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.02593, allocations: 48.97 kB / 268.5 MB, free: 8.051 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.02609, allocations: 138 kB / 268.6 MB, free: 7.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.02639, allocations: 238.3 kB / 268.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.0264, allocations: 0 / 268.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004821/0.02688, allocations: 315.8 kB / 269.1 MB, free: 7.297 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.02691, allocations: 4 kB / 269.1 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.02692, allocations: 4 kB / 269.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.02712, allocations: 77.94 kB / 269.2 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.0276, allocations: 138.9 kB / 269.4 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.02968, allocations: 2.896 MB / 272.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.02991, allocations: 12 kB / 272.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.02993, allocations: 23.98 kB / 272.3 MB, free: 3.973 MB / 266.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.0001994/0.03013, allocations: 137.7 kB / 272.4 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.0302, allocations: 35.97 kB / 272.5 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.651e-05/0.03026, allocations: 47.69 kB / 272.5 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.03027, allocations: 4 kB / 272.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.03029, allocations: 7.938 kB / 272.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.03029, allocations: 3.984 kB / 272.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008667/0.03116, allocations: 0.5705 MB / 273.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.03116, allocations: 0 / 273.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.03145, allocations: 113.8 kB / 273.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.03154, allocations: 39.7 kB / 273.2 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/0.03171, allocations: 85.67 kB / 273.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.03173, allocations: 12 kB / 273.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.03352, allocations: 2.884 MB / 276.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.03352, allocations: 0 / 276.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.03402, allocations: 450.2 kB / 276.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.03405, allocations: 4 kB / 276.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.03418, allocations: 23.98 kB / 276.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.03427, allocations: 31.94 kB / 276.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.03429, allocations: 19.92 kB / 276.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.208e-05/0.03438, allocations: 100.6 kB / 276.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03438, allocations: 0 / 276.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005026/0.03488, allocations: 120 kB / 277 MB, free: 15.06 MB / 282.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.0001574/0.03504, allocations: 92.39 kB / 277 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005945/0.03563, allocations: 493.3 kB / 277.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.795e-05/0.03565, allocations: 8.828 kB / 277.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.03601, allocations: 434.6 kB / 278 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.03647, allocations: 0.4937 MB / 278.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.04002, allocations: 0.9394 MB / 279.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.04012, allocations: 130.2 kB / 279.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.04027, allocations: 39.25 kB / 279.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.04043, allocations: 123.3 kB / 279.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.04043, allocations: 4 kB / 279.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of Templates: time 0.009362/0.0498, allocations: 5.324 MB / 285 MB, free: 6.867 MB / 282.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: 2.9401047052815557]