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.0009019/0.0009019, allocations: 80.75 kB / 19.94 MB, free: 4.547 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 0.8909/0.8909, allocations: 177.2 MB / 200.3 MB, free: 5.684 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.001343/0.001343, allocations: 152.6 kB / 257 MB, free: 12.97 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.03909/0.03909, allocations: 6.662 MB / 266.9 MB, free: 3.227 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 8.32e-07/8.32e-07, allocations: 0 / 285.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.778e-06/1.061e-05, allocations: 9.625 kB / 285.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.09741/0.09742, allocations: 3.775 MB / 289.4 MB, free: 20.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.09904, allocations: 1.013 MB / 290.4 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.09929, allocations: 9 kB / 290.4 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.0995, allocations: 89.42 kB / 290.5 MB, free: 19.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.09986, allocations: 166.2 kB / 290.7 MB, free: 19.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.1002, allocations: 181.6 kB / 290.8 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005403/0.1008, allocations: 0.6671 MB / 291.5 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.101, allocations: 198.2 kB / 291.7 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.1015, allocations: 403.1 kB / 292.1 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.1018, allocations: 214.7 kB / 292.3 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.631e-05/0.1019, allocations: 66.91 kB / 292.4 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.102, allocations: 70.89 kB / 292.4 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.1021, allocations: 141.4 kB / 292.6 MB, free: 18.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.1022, allocations: 210.5 kB / 292.8 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.1027, allocations: 451.7 kB / 293.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1027, allocations: 0.75 kB / 293.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1027, allocations: 0.7031 kB / 293.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1027, allocations: 1.781 kB / 293.2 MB, free: 18.23 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.0008864/0.1036, allocations: 0.7435 MB / 294 MB, free: 17.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1036, allocations: 9.188 kB / 294 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.1038, allocations: 90.23 kB / 294.1 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1041, allocations: 250.2 kB / 294.3 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.1041, allocations: 38.84 kB / 294.4 MB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.1042, allocations: 50.25 kB / 294.4 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.1047, allocations: 468 kB / 294.9 MB, free: 17.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1047, allocations: 192 / 294.9 MB, free: 17.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.1047, allocations: 21.41 kB / 294.9 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1047, allocations: 18.22 kB / 294.9 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.105, allocations: 134.9 kB / 295 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.1064, allocations: 1.332 MB / 296.4 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.1067, allocations: 193.5 kB / 296.6 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.1069, allocations: 136.9 kB / 296.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1069, allocations: 14.81 kB / 296.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.107, allocations: 34.19 kB / 296.7 MB, free: 16.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.923e-06/0.107, allocations: 0 / 296.7 MB, free: 16.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.002276/0.1092, allocations: 1.158 MB / 297.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.579e-05/0.1093, allocations: 55.5 kB / 297.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1094, allocations: 269.2 kB / 298.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1094, allocations: 31.14 kB / 298.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.1095, allocations: 253 kB / 298.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/0.1096, allocations: 175.5 kB / 298.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.1097, allocations: 87.73 kB / 298.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.013e-05/0.1097, allocations: 346 kB / 299.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.1098, allocations: 51.11 kB / 299.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1099, allocations: 137.6 kB / 299.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.1101, allocations: 231.3 kB / 299.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1102, allocations: 0 / 299.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003871/0.1105, allocations: 313.1 kB / 299.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1106, allocations: 6.625 kB / 299.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1106, allocations: 2.5 kB / 299.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.1107, allocations: 70.55 kB / 299.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.111, allocations: 105.6 kB / 300 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.1122, allocations: 2.891 MB / 302.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.1124, allocations: 22.77 kB / 302.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.1124, allocations: 17.61 kB / 302.9 MB, free: 11.61 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.0001021/0.1125, allocations: 135.6 kB / 303 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.1125, allocations: 39.34 kB / 303.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.1126, allocations: 46.56 kB / 303.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1126, allocations: 5.5 kB / 303.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1126, allocations: 5.406 kB / 303.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1126, allocations: 5.359 kB / 303.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.1133, allocations: 0.5748 MB / 303.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1133, allocations: 0 / 303.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.1135, allocations: 71.77 kB / 303.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.1137, allocations: 91.02 kB / 303.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.1137, allocations: 11.69 kB / 303.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.1148, allocations: 2.884 MB / 306.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1148, allocations: 1.5 kB / 306.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.1152, allocations: 439.1 kB / 307.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.1153, allocations: 47.34 kB / 307.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.1154, allocations: 6.281 kB / 307.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.1155, allocations: 24.33 kB / 307.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.1156, allocations: 31.38 kB / 307.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.1156, allocations: 14.58 kB / 307.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.929e-05/0.1157, allocations: 91.73 kB / 307.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1157, allocations: 0 / 307.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005197/0.1162, allocations: 120.8 kB / 307.5 MB, free: 7.738 MB / 266.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 7.684e-05/0.1163, allocations: 93.52 kB / 307.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.1167, allocations: 0.49 MB / 308.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.1167, allocations: 4.531 kB / 308.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.117, allocations: 399 kB / 308.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.1172, allocations: 54.91 kB / 308.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1184, allocations: 0.8926 MB / 309.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.965e-05/0.1185, allocations: 126.2 kB / 309.6 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000127/0.1186, allocations: 38.42 kB / 309.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1187, allocations: 111.3 kB / 309.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1187, allocations: 4 kB / 309.7 MB, free: 5.629 MB / 266.7 MB Notification: Performance of Templates: time 0.007583/0.1263, allocations: 4.984 MB / 314.7 MB, free: 0.75 MB / 266.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.6134730130434036]