Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 239.2 MB, free: 4.625 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.001424/0.001424, allocations: 191.6 kB / 289.5 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03369/0.03369, allocations: 8.803 MB / 348.5 MB, free: 4.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 76.11 kB / 411.1 MB, free: 42.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1292, allocations: 51.56 MB / 462.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01517/0.1444, allocations: 13.14 MB / 475.8 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009615/0.1541, allocations: 4.333 MB / 480.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00339/0.1575, allocations: 87.62 kB / 480.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003749/0.1613, allocations: 1.017 MB / 481.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00561/0.167, allocations: 1.291 MB / 482.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.17, allocations: 0.8611 MB / 483.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00645/0.1764, allocations: 4.01 MB / 487.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005985/0.1824, allocations: 3.522 MB / 490.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.1861, allocations: 1.92 MB / 492.8 MB, free: 40 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004393/0.1906, allocations: 2.113 MB / 494.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002002/0.1926, allocations: 0.5234 MB / 495.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.1956, allocations: 0.7419 MB / 496.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002186/0.1978, allocations: 1.145 MB / 497.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00521/0.203, allocations: 2.178 MB / 499.5 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.214, allocations: 6.839 MB / 0.4945 GB, free: 2.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.2141, allocations: 0 / 0.4945 GB, free: 2.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2141, allocations: 0 / 0.4945 GB, free: 2.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002672/0.2144, allocations: 8 kB / 0.4945 GB, free: 2.449 MB / 334.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.0163/0.2307, allocations: 4.438 MB / 0.4988 GB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.2307, allocations: 8.031 kB / 0.4988 GB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005421/0.2362, allocations: 0.8279 MB / 0.4996 GB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006568/0.2428, allocations: 2.403 MB / 0.502 GB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/0.2431, allocations: 251.1 kB / 0.5022 GB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.2447, allocations: 340 kB / 0.5025 GB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.2586, allocations: 4.504 MB / 0.5069 GB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.2588, allocations: 0 / 0.5069 GB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/0.2599, allocations: 144 kB / 0.5071 GB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/0.2601, allocations: 158.7 kB / 0.5072 GB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009719/0.2699, allocations: 3.805 MB / 0.511 GB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.3017, allocations: 14.2 MB / 0.5248 GB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.283/0.5847, allocations: 6.136 MB / 0.5308 GB, free: 60.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002373/0.5871, allocations: 1.205 MB / 0.532 GB, free: 60.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005955/0.5931, allocations: 3.311 MB / 0.5352 GB, free: 59.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.5931, allocations: 53.91 kB / 0.5353 GB, free: 59.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.577e-06/0.5932, allocations: 0.75 kB / 0.5353 GB, free: 59.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.01089/0.6041, allocations: 5.23 MB / 0.5404 GB, free: 58.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.6041, allocations: 64.19 kB / 0.5404 GB, free: 58.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.607, allocations: 1.688 MB / 0.5421 GB, free: 57.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.6071, allocations: 44.48 kB / 0.5421 GB, free: 57.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.6083, allocations: 1.493 MB / 0.5436 GB, free: 57.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.6086, allocations: 415.4 kB / 0.544 GB, free: 56.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004859/0.6091, allocations: 293.1 kB / 0.5443 GB, free: 56.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.6092, allocations: 302.7 kB / 0.5446 GB, free: 56.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.6103, allocations: 0.6223 MB / 0.5452 GB, free: 56.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.6116, allocations: 1.133 MB / 0.5463 GB, free: 55.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/0.6142, allocations: 1.878 MB / 0.5481 GB, free: 54.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/0.6142, allocations: 8.562 kB / 0.5481 GB, free: 54.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003982/0.6182, allocations: 2.182 MB / 0.5502 GB, free: 53.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.6183, allocations: 11.69 kB / 0.5503 GB, free: 53.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.6183, allocations: 19.91 kB / 0.5503 GB, free: 53.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/0.6187, allocations: 134.2 kB / 0.5504 GB, free: 53.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.6202, allocations: 400.5 kB / 0.5508 GB, free: 53.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.6225, allocations: 3.358 MB / 0.5541 GB, free: 49.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.6241, allocations: 78.33 kB / 0.5541 GB, free: 49.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.6242, allocations: 68.06 kB / 0.5542 GB, free: 49.87 MB / 366.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.002171/0.6264, allocations: 1.052 MB / 0.5552 GB, free: 49.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.6268, allocations: 176.5 kB / 0.5554 GB, free: 49.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.6298, allocations: 2.05 MB / 0.5574 GB, free: 48.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.6298, allocations: 11.84 kB / 0.5574 GB, free: 48.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6298, allocations: 7.875 kB / 0.5574 GB, free: 48.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.6298, allocations: 3.797 kB / 0.5574 GB, free: 48.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007566/0.6374, allocations: 4.779 MB / 0.5621 GB, free: 45.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.6374, allocations: 1.812 kB / 0.5621 GB, free: 45.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006922/0.6381, allocations: 163.7 kB / 0.5622 GB, free: 45.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.6392, allocations: 444.7 kB / 0.5627 GB, free: 45.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.6394, allocations: 35.11 kB / 0.5627 GB, free: 45.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008279/0.6476, allocations: 11.07 MB / 0.5735 GB, free: 35.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6477, allocations: 3.938 kB / 0.5735 GB, free: 35.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005117/0.6528, allocations: 2.872 MB / 0.5763 GB, free: 32.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.654, allocations: 386.8 kB / 0.5767 GB, free: 32.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006331/0.6547, allocations: 28 kB / 0.5767 GB, free: 32.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.6559, allocations: 67.7 kB / 0.5768 GB, free: 32.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.6562, allocations: 100.8 kB / 0.5769 GB, free: 31.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/0.6563, allocations: 35.98 kB / 0.5769 GB, free: 31.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002251/0.6586, allocations: 1.151 MB / 0.578 GB, free: 30.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6586, allocations: 0.9375 kB / 0.578 GB, free: 30.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002754/0.6613, allocations: 0.543 MB / 0.5786 GB, free: 30.26 MB / 366.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.0004079/0.6618, allocations: 171.1 kB / 0.5787 GB, free: 30.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003872/0.6656, allocations: 2.115 MB / 0.5808 GB, free: 27.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6657, allocations: 4 kB / 0.5808 GB, free: 27.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.6677, allocations: 1.489 MB / 0.5823 GB, free: 26.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/0.6709, allocations: 0.5272 MB / 0.5828 GB, free: 25.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.6827, allocations: 5.71 MB / 0.5883 GB, free: 20.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/0.6854, allocations: 2.366 MB / 0.5907 GB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00158/0.687, allocations: 388.1 kB / 0.591 GB, free: 17.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.6874, allocations: 119.4 kB / 0.5911 GB, free: 17.3 MB / 366.1 MB Notification: Performance of SimCode: time 1.963e-06/0.6874, allocations: 0 / 0.5911 GB, free: 17.3 MB / 366.1 MB Notification: Performance of Templates: time 0.05397/0.7414, allocations: 27.65 MB / 0.6181 GB, free: 5.934 MB / 382.1 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1)