Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 176.5 kB / 15.43 MB, free: 6.207 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.03749/0.03749, allocations: 8.919 MB / 25.1 MB, free: 3.715 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.323/1.323, allocations: 225.7 MB / 253.7 MB, free: 5.207 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.0007825/0.0007827, allocations: 85.56 kB / 307 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003822, allocations: 8 kB / 373.7 MB, free: 192 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2855, allocations: 52.54 MB / 426.3 MB, free: 49.8 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.04146/0.327, allocations: 43.61 MB / 469.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03316/0.3602, allocations: 14.77 MB / 484.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01306/0.3733, allocations: 346.8 kB / 485 MB, free: 12.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.3854, allocations: 3.207 MB / 488.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02155/0.407, allocations: 6.048 MB / 494.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.4186, allocations: 3.596 MB / 497.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03224/0.4508, allocations: 24.77 MB / 0.5103 GB, free: 6.023 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5794/1.03, allocations: 54.39 MB / 0.5635 GB, free: 25.21 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02175/1.052, allocations: 9.065 MB / 0.5723 GB, free: 24.23 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02257/1.075, allocations: 10.71 MB / 0.5828 GB, free: 22.03 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009706/1.084, allocations: 1.406 MB / 0.5841 GB, free: 22.03 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01419/1.099, allocations: 1.889 MB / 0.586 GB, free: 22.03 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01106/1.11, allocations: 4.619 MB / 0.5905 GB, free: 21.25 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0226/1.132, allocations: 10.88 MB / 0.6011 GB, free: 16.95 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.05369/1.186, allocations: 45.72 MB / 0.6458 GB, free: 10.61 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.186, allocations: 0 / 0.6458 GB, free: 10.61 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.194e-06/1.186, allocations: 3.375 kB / 0.6458 GB, free: 10.61 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001731/1.188, allocations: 0 / 0.6458 GB, free: 10.61 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.072/1.26, allocations: 22.89 MB / 0.6681 GB, free: 6.148 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.26, allocations: 8.031 kB / 0.6681 GB, free: 6.141 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07234/1.332, allocations: 13.96 MB / 0.6818 GB, free: 9.109 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03682/1.369, allocations: 14.55 MB / 0.696 GB, free: 0.6484 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002379/1.372, allocations: 1.581 MB / 0.6975 GB, free: 15.32 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01128/1.383, allocations: 2.084 MB / 0.6996 GB, free: 13.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5955/1.978, allocations: 34.56 MB / 0.7333 GB, free: 137.2 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001309/1.98, allocations: 31.02 kB / 0.7333 GB, free: 137.2 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008859/1.989, allocations: 0.8618 MB / 0.7342 GB, free: 137.2 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001696/1.99, allocations: 1.144 MB / 0.7353 GB, free: 137.2 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07714/2.068, allocations: 32.18 MB / 0.7667 GB, free: 124.1 MB / 0.495 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1891/2.257, allocations: 108 MB / 0.8722 GB, free: 24.38 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04626/2.303, allocations: 50.79 MB / 0.9218 GB, free: 2.176 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2807/2.584, allocations: 9.789 MB / 0.9314 GB, free: 158 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04804/2.632, allocations: 22.65 MB / 0.9535 GB, free: 151.4 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.021e-05/2.632, allocations: 137.6 kB / 0.9536 GB, free: 151.3 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=894): time 1.024e-05/2.632, allocations: 0 / 0.9536 GB, free: 151.3 MB / 0.5263 GB Notification: Performance of matching and sorting (n=906): time 0.05916/2.691, allocations: 39.47 MB / 0.9922 GB, free: 132.9 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/2.691, allocations: 173.9 kB / 0.9923 GB, free: 132.8 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/2.703, allocations: 8.28 MB / 1 GB, free: 128.3 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.001492/2.704, allocations: 173.7 kB / 1.001 GB, free: 128.1 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.004056/2.708, allocations: 8.689 MB / 1.009 GB, free: 120.4 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.002881/2.711, allocations: 3.046 MB / 1.012 GB, free: 117.7 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008474/2.712, allocations: 236 kB / 1.012 GB, free: 117.4 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0005144/2.713, allocations: 0.7721 MB / 1.013 GB, free: 116.8 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008287/2.721, allocations: 6.216 MB / 1.019 GB, free: 111.6 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01129/2.732, allocations: 9.941 MB / 1.029 GB, free: 100.9 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02196/2.754, allocations: 17.2 MB / 1.046 GB, free: 82.06 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/2.755, allocations: 32 kB / 1.046 GB, free: 82.03 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.03543/2.79, allocations: 20.25 MB / 1.065 GB, free: 61.68 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-05/2.79, allocations: 56 kB / 1.065 GB, free: 61.62 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001967/2.79, allocations: 116 kB / 1.066 GB, free: 61.51 MB / 0.5263 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002674/2.793, allocations: 0.9275 MB / 1.066 GB, free: 60.56 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009995/2.803, allocations: 2.41 MB / 1.069 GB, free: 58.15 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009321/2.812, allocations: 11.53 MB / 1.08 GB, free: 45.97 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009797/2.822, allocations: 0.6125 MB / 1.081 GB, free: 45.36 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002296/2.825, allocations: 0.5117 MB / 1.081 GB, free: 44.84 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (204,1.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01562/2.84, allocations: 7.929 MB / 1.089 GB, free: 36.9 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003273/2.843, allocations: 0.9031 MB / 1.09 GB, free: 35.98 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03528/2.879, allocations: 17 MB / 1.106 GB, free: 18.84 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-05/2.879, allocations: 95.84 kB / 1.106 GB, free: 18.75 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001242/2.879, allocations: 48 kB / 1.107 GB, free: 18.7 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001837/2.879, allocations: 43.83 kB / 1.107 GB, free: 18.66 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3112/3.19, allocations: 35.94 MB / 1.142 GB, free: 138.8 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.541e-05/3.191, allocations: 5.562 kB / 1.142 GB, free: 138.8 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006977/3.198, allocations: 1.427 MB / 1.143 GB, free: 138.7 MB / 0.5263 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.003333/3.201, allocations: 0.9724 MB / 1.144 GB, free: 138.4 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001778/3.203, allocations: 205.5 kB / 1.144 GB, free: 138.3 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/3.215, allocations: 15.75 MB / 1.16 GB, free: 125.8 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/3.215, allocations: 7.875 kB / 1.16 GB, free: 125.8 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03588/3.251, allocations: 24.73 MB / 1.184 GB, free: 115.7 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007427/3.258, allocations: 2.252 MB / 1.186 GB, free: 114.9 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002668/3.261, allocations: 177.8 kB / 1.186 GB, free: 114.8 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006123/3.267, allocations: 0.5038 MB / 1.187 GB, free: 114.6 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002068/3.269, allocations: 0.7866 MB / 1.187 GB, free: 114.5 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006878/3.27, allocations: 260.3 kB / 1.188 GB, free: 114.5 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.009327/3.279, allocations: 5.624 MB / 1.193 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of sort global known variables: time 4.81e-07/3.279, allocations: 0 / 1.193 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.01246/3.292, allocations: 3.467 MB / 1.197 GB, free: 110.8 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(204,1.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001936/3.294, allocations: 471.4 kB / 1.197 GB, free: 110.4 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.02397/3.318, allocations: 16.06 MB / 1.213 GB, free: 96.48 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/3.318, allocations: 4 kB / 1.213 GB, free: 96.48 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/3.331, allocations: 8.746 MB / 1.221 GB, free: 88.87 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01958/3.35, allocations: 2.416 MB / 1.224 GB, free: 86.82 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06684/3.417, allocations: 47.56 MB / 1.27 GB, free: 40.17 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02519/3.442, allocations: 13.12 MB / 1.283 GB, free: 27 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.01528/3.458, allocations: 3.997 MB / 1.287 GB, free: 22.99 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004143/3.462, allocations: 0.6595 MB / 1.287 GB, free: 22.33 MB / 0.5263 GB Notification: Performance of SimCode: time 8.52e-07/3.462, allocations: 4 kB / 1.287 GB, free: 22.32 MB / 0.5263 GB Notification: Performance of Templates: time 0.4455/3.907, allocations: 150.1 MB / 1.434 GB, free: 70.3 MB / 0.5419 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1)