Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 178 kB / 15.43 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.04397/0.04397, allocations: 8.921 MB / 25.1 MB, free: 3.598 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.7 MB / 253.7 MB, free: 5.215 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008695/0.0008698, allocations: 98.86 kB / 307 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 12 kB / 370.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2519, allocations: 52.56 MB / 422.8 MB, free: 47.91 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.003187/0.2552, allocations: 3.291 MB / 426.1 MB, free: 45.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2563, allocations: 0.8676 MB / 427 MB, free: 44.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.2565, allocations: 10.78 kB / 427 MB, free: 44.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.2567, allocations: 65.14 kB / 427.1 MB, free: 44.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.257, allocations: 130.3 kB / 427.2 MB, free: 44.8 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.2573, allocations: 151.2 kB / 427.3 MB, free: 44.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.2578, allocations: 0.6053 MB / 428 MB, free: 44.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.2582, allocations: 232.2 kB / 428.2 MB, free: 44.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.2584, allocations: 205.8 kB / 428.4 MB, free: 44.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.2587, allocations: 233.5 kB / 428.6 MB, free: 44.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.2587, allocations: 30.47 kB / 428.6 MB, free: 44.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.2588, allocations: 30.31 kB / 428.7 MB, free: 44.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.2589, allocations: 93.03 kB / 428.8 MB, free: 44.01 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.2591, allocations: 285 kB / 429 MB, free: 43.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.2597, allocations: 0.6779 MB / 429.7 MB, free: 43.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2598, allocations: 1.625 kB / 429.7 MB, free: 43.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2598, allocations: 1.062 kB / 429.7 MB, free: 43.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2598, allocations: 0 / 429.7 MB, free: 43.61 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.001083/0.2609, allocations: 0.7543 MB / 430.5 MB, free: 43.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2609, allocations: 9.625 kB / 430.5 MB, free: 43.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.072e-05/0.261, allocations: 57.86 kB / 430.5 MB, free: 43.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.2614, allocations: 366.9 kB / 430.9 MB, free: 42.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.2614, allocations: 42.31 kB / 430.9 MB, free: 42.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.596e-05/0.2615, allocations: 49.38 kB / 431 MB, free: 42.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/0.2624, allocations: 0.5243 MB / 431.5 MB, free: 42.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2624, allocations: 0 / 431.5 MB, free: 42.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.2625, allocations: 21.06 kB / 431.5 MB, free: 42.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.2625, allocations: 12.84 kB / 431.5 MB, free: 42.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.2633, allocations: 404.6 kB / 431.9 MB, free: 42.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.266, allocations: 1.913 MB / 433.9 MB, free: 41.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.2666, allocations: 318.5 kB / 434.2 MB, free: 40.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.2671, allocations: 245.2 kB / 434.4 MB, free: 40.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2671, allocations: 9.656 kB / 434.4 MB, free: 40.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2672, allocations: 36.16 kB / 434.4 MB, free: 40.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.2672, allocations: 0 / 434.4 MB, free: 40.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.004442/0.2716, allocations: 1.79 MB / 436.2 MB, free: 39.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.2717, allocations: 57.53 kB / 436.3 MB, free: 39.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.272, allocations: 298.6 kB / 436.6 MB, free: 39.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.2721, allocations: 35.81 kB / 436.6 MB, free: 39.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.2722, allocations: 267.2 kB / 436.9 MB, free: 39.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.2723, allocations: 158.7 kB / 437 MB, free: 39.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/0.2723, allocations: 14.16 kB / 437 MB, free: 39.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.2724, allocations: 346.3 kB / 437.4 MB, free: 38.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.2728, allocations: 151.1 kB / 437.5 MB, free: 38.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.2732, allocations: 246.9 kB / 437.8 MB, free: 38.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.2739, allocations: 418.3 kB / 438.2 MB, free: 38.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.274, allocations: 0.875 kB / 438.2 MB, free: 38.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001094/0.2751, allocations: 0.5603 MB / 438.7 MB, free: 38.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2751, allocations: 5.125 kB / 438.7 MB, free: 38.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2751, allocations: 8.062 kB / 438.8 MB, free: 38.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.2754, allocations: 95.77 kB / 438.9 MB, free: 38.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.2758, allocations: 105.9 kB / 439 MB, free: 38.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.2779, allocations: 3.24 MB / 442.2 MB, free: 34.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.2782, allocations: 26.67 kB / 442.2 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.2782, allocations: 17.25 kB / 442.2 MB, free: 34.84 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.0002033/0.2784, allocations: 187.3 kB / 442.4 MB, free: 34.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.2785, allocations: 46.72 kB / 442.5 MB, free: 34.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.462e-05/0.2786, allocations: 47.08 kB / 442.5 MB, free: 34.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2786, allocations: 4.781 kB / 442.5 MB, free: 34.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.2786, allocations: 5.062 kB / 442.5 MB, free: 34.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2787, allocations: 0.9062 kB / 442.5 MB, free: 34.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.2803, allocations: 1.139 MB / 443.7 MB, free: 33.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2803, allocations: 0 / 443.7 MB, free: 33.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.2807, allocations: 83.5 kB / 443.7 MB, free: 33.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000209/0.2809, allocations: 106.5 kB / 443.8 MB, free: 33.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.2809, allocations: 11.5 kB / 443.9 MB, free: 33.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.2829, allocations: 3.238 MB / 447.1 MB, free: 30.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2829, allocations: 8.938 kB / 447.1 MB, free: 30.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.2842, allocations: 0.7794 MB / 447.9 MB, free: 29.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.2843, allocations: 144.7 kB / 448 MB, free: 29.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.2844, allocations: 15.94 kB / 448 MB, free: 29.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.2846, allocations: 31.92 kB / 448.1 MB, free: 29.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.2847, allocations: 35.89 kB / 448.1 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.2847, allocations: 16.05 kB / 448.1 MB, free: 29.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.2849, allocations: 206 kB / 448.3 MB, free: 29.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2849, allocations: 0 / 448.3 MB, free: 29.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005336/0.2855, allocations: 120 kB / 448.4 MB, free: 29.37 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.0001076/0.2856, allocations: 113 kB / 448.6 MB, free: 29.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2866, allocations: 0.663 MB / 449.2 MB, free: 28.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2866, allocations: 8.125 kB / 449.2 MB, free: 28.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.2872, allocations: 485.1 kB / 449.7 MB, free: 28.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.2876, allocations: 56.64 kB / 449.8 MB, free: 28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.2891, allocations: 1.313 MB / 451.1 MB, free: 26.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2893, allocations: 0.8395 MB / 451.9 MB, free: 25.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.2895, allocations: 43.27 kB / 451.9 MB, free: 25.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.2896, allocations: 31.42 kB / 452 MB, free: 25.72 MB / 330.7 MB Notification: Performance of SimCode: time 3.8e-07/0.2896, allocations: 0 / 452 MB, free: 25.72 MB / 330.7 MB Notification: Performance of Templates: time 0.007451/0.2971, allocations: 4.462 MB / 456.4 MB, free: 21.29 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile (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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1)