Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 177.6 kB / 15.43 MB, free: 5.879 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.03834/0.03834, allocations: 8.918 MB / 25.1 MB, free: 3.562 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.444/1.444, allocations: 225.7 MB / 253.7 MB, free: 5.219 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.0007361/0.000736, allocations: 91.45 kB / 307 MB, free: 2.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 11.98 kB / 370.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 52.56 MB / 422.8 MB, free: 47.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.03699/0.3205, allocations: 39.91 MB / 462.8 MB, free: 16.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02941/0.3499, allocations: 13.71 MB / 476.5 MB, free: 1.777 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01175/0.3617, allocations: 322.9 kB / 476.8 MB, free: 1.461 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.3723, allocations: 2.912 MB / 479.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02111/0.3934, allocations: 5.322 MB / 485 MB, free: 8.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01217/0.4056, allocations: 3.355 MB / 488.4 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.03193/0.4375, allocations: 21.34 MB / 0.4978 GB, free: 15.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08792/0.5255, allocations: 48.05 MB / 0.5447 GB, free: 13.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01554/0.5411, allocations: 7.823 MB / 0.5523 GB, free: 5.738 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.5015/1.043, allocations: 9.234 MB / 0.5614 GB, free: 49.42 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008577/1.051, allocations: 1.213 MB / 0.5625 GB, free: 49.42 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/1.062, allocations: 1.607 MB / 0.5641 GB, free: 49.42 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008831/1.071, allocations: 3.927 MB / 0.5679 GB, free: 49.42 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02574/1.097, allocations: 9.381 MB / 0.5771 GB, free: 48.56 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04879/1.146, allocations: 38.85 MB / 0.615 GB, free: 29.48 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.146, allocations: 0 / 0.615 GB, free: 29.48 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.316e-06/1.146, allocations: 1.219 kB / 0.615 GB, free: 29.48 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.001939/1.148, allocations: 0 / 0.615 GB, free: 29.48 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.05756/1.205, allocations: 19.89 MB / 0.6345 GB, free: 19.53 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.205, allocations: 8.031 kB / 0.6345 GB, free: 19.52 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05416/1.26, allocations: 11.36 MB / 0.6456 GB, free: 8.945 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03033/1.29, allocations: 13.06 MB / 0.6583 GB, free: 1.117 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00146/1.291, allocations: 1.364 MB / 0.6596 GB, free: 348 kB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007155/1.299, allocations: 1.792 MB / 0.6614 GB, free: 15.14 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08496/1.384, allocations: 29.47 MB / 0.6902 GB, free: 6.238 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009192/1.385, allocations: 23.81 kB / 0.6902 GB, free: 6.215 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006001/1.391, allocations: 0.7459 MB / 0.6909 GB, free: 5.488 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001116/1.392, allocations: 0.9907 MB / 0.6919 GB, free: 4.492 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06041/1.452, allocations: 27.18 MB / 0.7184 GB, free: 9.293 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3985/1.851, allocations: 94.35 MB / 0.8106 GB, free: 105.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03473/1.885, allocations: 51.94 MB / 0.8613 GB, free: 54.49 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01109/1.897, allocations: 7.343 MB / 0.8685 GB, free: 47.13 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03645/1.933, allocations: 20.22 MB / 0.8882 GB, free: 27.05 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.786e-05/1.933, allocations: 104.5 kB / 0.8883 GB, free: 26.94 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=683): time 1.024e-05/1.933, allocations: 0 / 0.8883 GB, free: 26.94 MB / 0.4949 GB Notification: Performance of matching and sorting (n=691): time 0.09078/2.024, allocations: 38.85 MB / 0.9263 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/2.024, allocations: 147.1 kB / 0.9264 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2321/2.256, allocations: 7.05 MB / 0.9333 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001051/2.257, allocations: 138 kB / 0.9334 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004902/2.262, allocations: 7.802 MB / 0.941 GB, free: 163 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002422/2.265, allocations: 2.339 MB / 0.9433 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006896/2.265, allocations: 195.4 kB / 0.9435 GB, free: 161 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004469/2.266, allocations: 0.6954 MB / 0.9442 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007363/2.273, allocations: 4.873 MB / 0.9489 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008809/2.282, allocations: 8.346 MB / 0.9571 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01662/2.299, allocations: 14.04 MB / 0.9708 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001943/2.299, allocations: 34.75 kB / 0.9708 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02603/2.325, allocations: 16.1 MB / 0.9866 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.456e-05/2.325, allocations: 53.22 kB / 0.9866 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/2.325, allocations: 110.5 kB / 0.9867 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005848/2.331, allocations: 2.565 MB / 0.9892 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007646/2.339, allocations: 2.1 MB / 0.9913 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02591/2.365, allocations: 28.57 MB / 1.019 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006772/2.372, allocations: 0.531 MB / 1.02 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/2.373, allocations: 467.9 kB / 1.02 GB, free: 107.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * 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): 8 systems {(1,1,100.0%), (18,100,41.7%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01044/2.383, allocations: 6.761 MB / 1.027 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/2.385, allocations: 0.7718 MB / 1.028 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01873/2.404, allocations: 13.13 MB / 1.04 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01169/2.415, allocations: 8.276 MB / 1.048 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.574e-05/2.415, allocations: 28 kB / 1.048 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.921e-05/2.416, allocations: 31.88 kB / 1.048 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04273/2.458, allocations: 28.09 MB / 1.076 GB, free: 49.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/2.458, allocations: 4 kB / 1.076 GB, free: 49.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004545/2.463, allocations: 1.112 MB / 1.077 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005837/2.469, allocations: 2.623 MB / 1.08 GB, free: 45.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/2.47, allocations: 148 kB / 1.08 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02773/2.498, allocations: 32.99 MB / 1.112 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/2.498, allocations: 7.938 kB / 1.112 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2362/2.734, allocations: 18.86 MB / 1.13 GB, free: 146 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004715/2.739, allocations: 1.765 MB / 1.132 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/2.74, allocations: 128 kB / 1.132 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004058/2.744, allocations: 412.2 kB / 1.133 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001398/2.746, allocations: 0.5269 MB / 1.133 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004834/2.746, allocations: 199.7 kB / 1.133 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007398/2.754, allocations: 4.735 MB / 1.138 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/2.754, allocations: 2 kB / 1.138 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009991/2.764, allocations: 3.065 MB / 1.141 GB, free: 144.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (563): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/2.765, allocations: 364.5 kB / 1.141 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01762/2.782, allocations: 13.4 MB / 1.154 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/2.782, allocations: 0 / 1.154 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/2.794, allocations: 7.59 MB / 1.162 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01252/2.806, allocations: 2.024 MB / 1.164 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04916/2.855, allocations: 40.18 MB / 1.203 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01324/2.869, allocations: 11.35 MB / 1.214 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009069/2.878, allocations: 3.296 MB / 1.217 GB, free: 88.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/2.879, allocations: 0.554 MB / 1.218 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/2.879, allocations: 0 / 1.218 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.5058/3.385, allocations: 130 MB / 1.345 GB, free: 119 MB / 0.5262 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1)