Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007139/0.007139, allocations: 97.2 kB / 15.73 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 239.4 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 200.4 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03412/0.03412, allocations: 8.801 MB / 348.7 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 79.81 kB / 463.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1322, allocations: 51.56 MB / 0.5034 GB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01544/0.1477, allocations: 13.15 MB / 0.5162 GB, free: 12.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.158, allocations: 4.329 MB / 0.5205 GB, free: 7.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003098/0.1611, allocations: 87.62 kB / 0.5206 GB, free: 7.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.1646, allocations: 1.029 MB / 0.5216 GB, free: 6.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.17, allocations: 1.285 MB / 0.5228 GB, free: 5.539 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.1724, allocations: 0.8583 MB / 0.5237 GB, free: 4.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006762/0.1791, allocations: 4.031 MB / 0.5276 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3085/0.4877, allocations: 3.527 MB / 0.531 GB, free: 5.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.4915, allocations: 1.921 MB / 0.5329 GB, free: 5.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004544/0.4961, allocations: 2.127 MB / 0.535 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002004/0.4981, allocations: 0.525 MB / 0.5355 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.5013, allocations: 0.7228 MB / 0.5362 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.5029, allocations: 1.149 MB / 0.5373 GB, free: 4.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004726/0.5076, allocations: 2.174 MB / 0.5395 GB, free: 4.418 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.5214, allocations: 6.913 MB / 0.5462 GB, free: 3.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.5215, allocations: 4.703 kB / 0.5462 GB, free: 3.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5216, allocations: 0.5625 kB / 0.5462 GB, free: 3.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004205/0.522, allocations: 0 / 0.5462 GB, free: 3.68 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.02031/0.5423, allocations: 4.528 MB / 0.5506 GB, free: 1.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.5424, allocations: 12.53 kB / 0.5506 GB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005084/0.5475, allocations: 0.8421 MB / 0.5515 GB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006162/0.5537, allocations: 2.483 MB / 0.5539 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.5539, allocations: 254.8 kB / 0.5541 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.5551, allocations: 339.2 kB / 0.5545 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.5658, allocations: 4.509 MB / 0.5589 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.138e-05/0.5659, allocations: 7.328 kB / 0.5589 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00038/0.5663, allocations: 130.3 kB / 0.559 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.5665, allocations: 158 kB / 0.5591 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008979/0.5754, allocations: 3.824 MB / 0.5629 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03318/0.6086, allocations: 14.05 MB / 0.5766 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007416/0.6161, allocations: 6.146 MB / 0.5826 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/0.6185, allocations: 1.179 MB / 0.5838 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007247/0.6258, allocations: 3.304 MB / 0.587 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.6259, allocations: 47.56 kB / 0.587 GB, free: 5.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 7.925e-06/0.6259, allocations: 7.547 kB / 0.587 GB, free: 5.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.01266/0.6385, allocations: 5.275 MB / 0.5922 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.6386, allocations: 64.41 kB / 0.5922 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003708/0.6423, allocations: 1.686 MB / 0.5939 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.6425, allocations: 45.7 kB / 0.5939 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.6437, allocations: 1.53 MB / 0.5954 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/0.6442, allocations: 447 kB / 0.5959 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005699/0.6448, allocations: 283.5 kB / 0.5961 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6449, allocations: 305.1 kB / 0.5964 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.6461, allocations: 0.6246 MB / 0.597 GB, free: 10.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.6476, allocations: 1.133 MB / 0.5981 GB, free: 9.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.6505, allocations: 1.873 MB / 0.6 GB, free: 7.316 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.6505, allocations: 4 kB / 0.6 GB, free: 7.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004258/0.6548, allocations: 2.198 MB / 0.6021 GB, free: 5.176 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.6548, allocations: 12 kB / 0.6021 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/0.6549, allocations: 16 kB / 0.6021 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004568/0.6553, allocations: 141.2 kB / 0.6023 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.6569, allocations: 391.8 kB / 0.6027 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.6602, allocations: 3.367 MB / 0.6059 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.6626, allocations: 76.02 kB / 0.606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.6629, allocations: 68 kB / 0.6061 GB, free: 0.8828 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003278/0.6662, allocations: 1.048 MB / 0.6071 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006385/0.6668, allocations: 186.8 kB / 0.6073 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/0.6711, allocations: 2.038 MB / 0.6093 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.6712, allocations: 16 kB / 0.6093 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/0.6712, allocations: 8 kB / 0.6093 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.6712, allocations: 7.922 kB / 0.6093 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.6819, allocations: 4.786 MB / 0.614 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.682, allocations: 0 / 0.614 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/0.6828, allocations: 159.9 kB / 0.6141 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.6842, allocations: 446.4 kB / 0.6146 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.6844, allocations: 31.98 kB / 0.6146 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.6959, allocations: 11.07 MB / 0.6254 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.6959, allocations: 4.062 kB / 0.6254 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005675/0.7016, allocations: 2.88 MB / 0.6282 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/0.7031, allocations: 399.7 kB / 0.6286 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007758/0.7039, allocations: 35.98 kB / 0.6286 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.7054, allocations: 59.95 kB / 0.6287 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.7058, allocations: 99.48 kB / 0.6288 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.7059, allocations: 32 kB / 0.6288 GB, free: 8.812 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002801/0.7087, allocations: 1.15 MB / 0.6299 GB, free: 7.668 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7087, allocations: 0 / 0.6299 GB, free: 7.668 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003467/0.7122, allocations: 0.543 MB / 0.6305 GB, free: 7.125 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (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,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,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.0004682/0.7127, allocations: 162.4 kB / 0.6306 GB, free: 6.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003647/0.7164, allocations: 1.837 MB / 0.6324 GB, free: 5.141 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.7164, allocations: 4.125 kB / 0.6324 GB, free: 5.137 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002609/0.719, allocations: 1.505 MB / 0.6339 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/0.7239, allocations: 0.5325 MB / 0.6344 GB, free: 3.059 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.7387, allocations: 5.741 MB / 0.64 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003488/0.7422, allocations: 2.365 MB / 0.6423 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001821/0.7441, allocations: 384.1 kB / 0.6427 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.7447, allocations: 127.4 kB / 0.6428 GB, free: 10.41 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7447, allocations: 3.938 kB / 0.6428 GB, free: 10.4 MB / 462.1 MB Notification: Performance of Templates: time 0.05611/0.8008, allocations: 28.11 MB / 0.6703 GB, free: 14.62 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1)