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.0009429/0.0009429, allocations: 85.14 kB / 19.87 MB, free: 4.625 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 1.037/1.037, allocations: 177.2 MB / 200.3 MB, free: 5.352 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.001462/0.001462, allocations: 159.4 kB / 256.9 MB, free: 12.8 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.02518/0.02518, allocations: 6.656 MB / 320.1 MB, free: 11.44 MB / 298.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.613e-06/1.613e-06, allocations: 0 / 392.1 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.413e-05, allocations: 2.312 kB / 392.1 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.006402/0.006436, allocations: 3.791 MB / 395.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.00945, allocations: 0.9697 MB / 396.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004838/0.009934, allocations: 11.94 kB / 396.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.01023, allocations: 83.09 kB / 396.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006044/0.01083, allocations: 170.5 kB / 397.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.01136, allocations: 183.6 kB / 397.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008061/0.01217, allocations: 0.6693 MB / 397.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.01245, allocations: 189.4 kB / 398.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006959/0.01315, allocations: 399.2 kB / 398.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.01354, allocations: 211.4 kB / 398.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.01365, allocations: 64 kB / 398.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.0138, allocations: 79.98 kB / 398.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.0139, allocations: 135.6 kB / 399 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.01411, allocations: 211.5 kB / 399.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.01469, allocations: 454.5 kB / 399.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.01469, allocations: 0 / 399.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01469, allocations: 0 / 399.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.0147, allocations: 0 / 399.6 MB, free: 11.75 MB / 378.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.001068/0.01577, allocations: 0.8816 MB / 400.5 MB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.01581, allocations: 8.031 kB / 400.5 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.01606, allocations: 108.6 kB / 400.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.01647, allocations: 311.2 kB / 400.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.0165, allocations: 37.69 kB / 401 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.01655, allocations: 52.38 kB / 401 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/0.0172, allocations: 465.8 kB / 401.5 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01721, allocations: 192 / 401.5 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.01725, allocations: 20.38 kB / 401.5 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.01727, allocations: 15.94 kB / 401.5 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.01759, allocations: 154.8 kB / 401.7 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.0197, allocations: 1.671 MB / 403.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.02009, allocations: 211.8 kB / 403.6 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.02036, allocations: 158.7 kB / 403.7 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.02039, allocations: 8.281 kB / 403.7 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.02042, allocations: 41.66 kB / 403.8 MB, free: 7.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.02042, allocations: 0 / 403.8 MB, free: 7.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.002466/0.02288, allocations: 1.096 MB / 404.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.02292, allocations: 55.91 kB / 404.9 MB, free: 6.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.0232, allocations: 318.1 kB / 405.2 MB, free: 5.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.02323, allocations: 33.7 kB / 405.2 MB, free: 5.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.02343, allocations: 327.5 kB / 405.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.02358, allocations: 170.5 kB / 405.7 MB, free: 5.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.02372, allocations: 91.8 kB / 405.8 MB, free: 5.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.0239, allocations: 0.5195 MB / 406.3 MB, free: 4.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.02402, allocations: 56.89 kB / 406.4 MB, free: 4.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.02421, allocations: 178.2 kB / 406.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.02455, allocations: 254.7 kB / 406.8 MB, free: 4.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.02455, allocations: 3.938 kB / 406.8 MB, free: 4.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005799/0.02513, allocations: 384.3 kB / 407.2 MB, free: 3.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.02515, allocations: 8 kB / 407.2 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02516, allocations: 0 / 407.2 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.02543, allocations: 95.58 kB / 407.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.02577, allocations: 99.83 kB / 407.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.0284, allocations: 4.217 MB / 411.6 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.0286, allocations: 16.19 kB / 411.6 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.02863, allocations: 12 kB / 411.6 MB, free: 15.09 MB / 394.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.0002153/0.02884, allocations: 188.5 kB / 411.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.02894, allocations: 55.77 kB / 411.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.468e-05/0.02901, allocations: 47.72 kB / 411.9 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.02902, allocations: 8 kB / 411.9 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.02903, allocations: 3.938 kB / 411.9 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.02904, allocations: 3.984 kB / 411.9 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.03032, allocations: 0.7615 MB / 412.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.03033, allocations: 0 / 412.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.03063, allocations: 79.89 kB / 412.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.03084, allocations: 91.27 kB / 412.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.03088, allocations: 11.98 kB / 412.9 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.0335, allocations: 4.206 MB / 417.1 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.0335, allocations: 0 / 417.1 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.03403, allocations: 0.5487 MB / 417.6 MB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/0.03412, allocations: 71.72 kB / 417.7 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.03415, allocations: 8 kB / 417.7 MB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.03428, allocations: 28.23 kB / 417.7 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.03434, allocations: 35.88 kB / 417.8 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.03435, allocations: 15.98 kB / 417.8 MB, free: 8.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.03445, allocations: 210.9 kB / 418 MB, free: 8.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03445, allocations: 0 / 418 MB, free: 8.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004371/0.03489, allocations: 127.9 kB / 418.1 MB, free: 8.289 MB / 394.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.0001058/0.035, allocations: 107.2 kB / 418.2 MB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.03554, allocations: 0.6076 MB / 418.8 MB, free: 7.527 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.03555, allocations: 0 / 418.8 MB, free: 7.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.03591, allocations: 0.5202 MB / 419.4 MB, free: 6.969 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.03618, allocations: 56.84 kB / 419.4 MB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.03755, allocations: 0.9018 MB / 420.3 MB, free: 5.973 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.488e-05/0.03765, allocations: 122.2 kB / 420.4 MB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.03776, allocations: 39.27 kB / 420.5 MB, free: 5.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.03791, allocations: 138.2 kB / 420.6 MB, free: 5.652 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.03791, allocations: 0 / 420.6 MB, free: 5.652 MB / 394.7 MB Notification: Performance of Templates: time 0.01003/0.04794, allocations: 5.057 MB / 425.7 MB, free: 0.6484 MB / 394.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.0830127522349358]