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.001035/0.001035, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.41/1.41, allocations: 223.2 MB / 238.9 MB, free: 5.461 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.001537/0.001537, allocations: 196.5 kB / 290.2 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03308/0.03308, allocations: 8.803 MB / 350.1 MB, free: 4.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 9.969 kB / 413.1 MB, free: 43.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 52.56 MB / 465.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01115/0.138, allocations: 10.57 MB / 476.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007925/0.146, allocations: 4.107 MB / 480.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.148, allocations: 79.62 kB / 480.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.1505, allocations: 0.8164 MB / 481.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.1546, allocations: 1.114 MB / 482.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.1565, allocations: 0.6087 MB / 482.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005209/0.1617, allocations: 2.773 MB / 485.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.1649, allocations: 2.441 MB / 488.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.1672, allocations: 1.269 MB / 489.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.1696, allocations: 1.474 MB / 490.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004164/0.1701, allocations: 212 kB / 491.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.1712, allocations: 375.8 kB / 491.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005924/0.1718, allocations: 0.7281 MB / 492.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008472/0.1727, allocations: 0.7538 MB / 493 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005306/0.178, allocations: 5.61 MB / 498.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.178, allocations: 0 / 498.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.178, allocations: 0 / 498.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002229/0.1783, allocations: 0 / 498.6 MB, free: 12.45 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.01064/0.1889, allocations: 3.787 MB / 0.4906 GB, free: 8.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.189, allocations: 8.031 kB / 0.4906 GB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/0.1938, allocations: 0.8309 MB / 0.4914 GB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005428/0.1992, allocations: 2.329 MB / 0.4937 GB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.1995, allocations: 250.7 kB / 0.4939 GB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007587/0.2002, allocations: 335.9 kB / 0.4942 GB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009099/0.2094, allocations: 4.461 MB / 0.4986 GB, free: 288 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.69e-05/0.2095, allocations: 7.969 kB / 0.4986 GB, free: 280 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.2098, allocations: 140 kB / 0.4987 GB, free: 140 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/0.2099, allocations: 158.8 kB / 0.4989 GB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007364/0.2173, allocations: 3.802 MB / 0.5026 GB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/0.2422, allocations: 14.2 MB / 0.5165 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006163/0.2484, allocations: 6.145 MB / 0.5225 GB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005443/0.2539, allocations: 2.94 MB / 0.5253 GB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/0.254, allocations: 51.52 kB / 0.5254 GB, free: 3.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 5.019e-06/0.254, allocations: 0 / 0.5254 GB, free: 3.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=124): time 0.2881/0.542, allocations: 5.373 MB / 0.5306 GB, free: 63.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.5422, allocations: 65.06 kB / 0.5307 GB, free: 63.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.545, allocations: 1.628 MB / 0.5323 GB, free: 63.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.5453, allocations: 45.23 kB / 0.5323 GB, free: 63.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.5463, allocations: 1.469 MB / 0.5338 GB, free: 62.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.5466, allocations: 443.2 kB / 0.5342 GB, free: 62.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.5467, allocations: 31.97 kB / 0.5342 GB, free: 62.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5469, allocations: 376.8 kB / 0.5346 GB, free: 62.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.548, allocations: 0.647 MB / 0.5352 GB, free: 62.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.5496, allocations: 1.139 MB / 0.5363 GB, free: 61.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.5512, allocations: 0.864 MB / 0.5372 GB, free: 61.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.5512, allocations: 4.781 kB / 0.5372 GB, free: 61.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004284/0.5555, allocations: 2.23 MB / 0.5393 GB, free: 61.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.5555, allocations: 14.53 kB / 0.5394 GB, free: 61.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.5556, allocations: 19.47 kB / 0.5394 GB, free: 61.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005022/0.5561, allocations: 137.2 kB / 0.5395 GB, free: 61.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.5578, allocations: 404.9 kB / 0.5399 GB, free: 61.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.5608, allocations: 3.114 MB / 0.5429 GB, free: 58.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5625, allocations: 74.42 kB / 0.543 GB, free: 58.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.5627, allocations: 71.78 kB / 0.5431 GB, free: 58.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (200): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002965/0.5657, allocations: 1.044 MB / 0.5441 GB, free: 58.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004644/0.5661, allocations: 181 kB / 0.5443 GB, free: 58.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/0.5706, allocations: 2.131 MB / 0.5463 GB, free: 57.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.5706, allocations: 12.31 kB / 0.5464 GB, free: 57.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.5707, allocations: 6.781 kB / 0.5464 GB, free: 57.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/0.5707, allocations: 4.391 kB / 0.5464 GB, free: 57.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008965/0.5797, allocations: 4.871 MB / 0.5511 GB, free: 54.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.5797, allocations: 1.062 kB / 0.5511 GB, free: 54.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008496/0.5806, allocations: 177.7 kB / 0.5513 GB, free: 54.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.5819, allocations: 442 kB / 0.5517 GB, free: 54.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-05/0.582, allocations: 40.52 kB / 0.5518 GB, free: 54.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007716/0.5897, allocations: 10.22 MB / 0.5617 GB, free: 46.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.5898, allocations: 1.531 kB / 0.5617 GB, free: 46.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/0.5944, allocations: 3.067 MB / 0.5647 GB, free: 44.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.5955, allocations: 396 kB / 0.5651 GB, free: 43.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.5957, allocations: 33.48 kB / 0.5651 GB, free: 43.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/0.5965, allocations: 74.42 kB / 0.5652 GB, free: 43.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.5968, allocations: 95.86 kB / 0.5653 GB, free: 43.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.5969, allocations: 39.61 kB / 0.5653 GB, free: 43.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002093/0.599, allocations: 1.102 MB / 0.5664 GB, free: 43.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.599, allocations: 0 / 0.5664 GB, free: 43.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002827/0.6018, allocations: 0.5475 MB / 0.5669 GB, free: 43.14 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 (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003693/0.6022, allocations: 159 kB / 0.5671 GB, free: 43.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003308/0.6056, allocations: 1.893 MB / 0.5689 GB, free: 41.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.6056, allocations: 3.281 kB / 0.569 GB, free: 41.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.6078, allocations: 1.529 MB / 0.5704 GB, free: 40.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.6102, allocations: 0.4987 MB / 0.5709 GB, free: 40.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.6212, allocations: 6.934 MB / 0.5777 GB, free: 33.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.6229, allocations: 2.423 MB / 0.5801 GB, free: 30.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001591/0.6245, allocations: 388.1 kB / 0.5804 GB, free: 30.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.6248, allocations: 123.4 kB / 0.5806 GB, free: 30.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.693e-06/0.6248, allocations: 3.938 kB / 0.5806 GB, free: 30.42 MB / 366.1 MB Notification: Performance of Templates: time 0.04179/0.6666, allocations: 25.35 MB / 0.6053 GB, free: 5.344 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: