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: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009374/0.0009374, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.329/1.329, allocations: 222.9 MB / 238.9 MB, free: 4.777 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.001498/0.001498, allocations: 188.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0331/0.0331, allocations: 8.787 MB / 348.1 MB, free: 4.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 76.78 kB / 410.5 MB, free: 42.53 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08785, allocations: 51.56 MB / 462.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01375/0.1016, allocations: 12.99 MB / 475.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00833/0.11, allocations: 4.279 MB / 479.3 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.1125, allocations: 83.69 kB / 479.4 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003211/0.1158, allocations: 0.894 MB / 480.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.1201, allocations: 1.177 MB / 481.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.1224, allocations: 0.7989 MB / 482.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005345/0.1278, allocations: 4.307 MB / 486.6 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003937/0.1318, allocations: 2.916 MB / 489.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.1339, allocations: 1.541 MB / 491.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.1361, allocations: 1.961 MB / 493 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004531/0.1365, allocations: 312 kB / 493.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.1377, allocations: 0.5154 MB / 493.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007064/0.1384, allocations: 0.9265 MB / 494.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.1402, allocations: 1.929 MB / 496.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005154/0.1453, allocations: 6.679 MB / 0.4916 GB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1454, allocations: 0 / 0.4916 GB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1454, allocations: 0 / 0.4916 GB, free: 5.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001106/0.1455, allocations: 0 / 0.4916 GB, free: 5.41 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.01005/0.1555, allocations: 4.422 MB / 0.4959 GB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1556, allocations: 12.03 kB / 0.4959 GB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000733/0.1563, allocations: 0.5149 MB / 0.4964 GB, free: 388 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004107/0.1605, allocations: 0.8358 MB / 0.4972 GB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/0.1641, allocations: 2.352 MB / 0.4995 GB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.1643, allocations: 251.1 kB / 0.4998 GB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004498/0.1648, allocations: 339.8 kB / 0.5001 GB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007071/0.1718, allocations: 4.512 MB / 0.5045 GB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-05/0.1719, allocations: 3.906 kB / 0.5045 GB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.1722, allocations: 140 kB / 0.5046 GB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.1724, allocations: 162.7 kB / 0.5048 GB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006066/0.1784, allocations: 3.817 MB / 0.5085 GB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/0.1973, allocations: 14.2 MB / 0.5224 GB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.17/0.3673, allocations: 6.136 MB / 0.5284 GB, free: 62.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.3695, allocations: 1.202 MB / 0.5295 GB, free: 62.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005362/0.3749, allocations: 3.305 MB / 0.5328 GB, free: 61.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3749, allocations: 46.03 kB / 0.5328 GB, free: 61.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.206e-06/0.3749, allocations: 1.156 kB / 0.5328 GB, free: 61.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.01025/0.3852, allocations: 5.237 MB / 0.5379 GB, free: 60.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3853, allocations: 64.78 kB / 0.538 GB, free: 60.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.3879, allocations: 1.687 MB / 0.5396 GB, free: 60.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.388, allocations: 50.48 kB / 0.5397 GB, free: 60.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009669/0.389, allocations: 1.491 MB / 0.5411 GB, free: 59.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.3893, allocations: 417.9 kB / 0.5415 GB, free: 59.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.3897, allocations: 292.5 kB / 0.5418 GB, free: 59.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.046e-05/0.3898, allocations: 306.3 kB / 0.5421 GB, free: 58.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.3908, allocations: 0.6209 MB / 0.5427 GB, free: 58.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.3921, allocations: 1.137 MB / 0.5438 GB, free: 58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.3943, allocations: 1.864 MB / 0.5456 GB, free: 56.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.3944, allocations: 5.531 kB / 0.5457 GB, free: 56.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003517/0.3979, allocations: 2.187 MB / 0.5478 GB, free: 55.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.3979, allocations: 14.05 kB / 0.5478 GB, free: 55.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.398, allocations: 16.06 kB / 0.5478 GB, free: 55.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.3984, allocations: 135.7 kB / 0.5479 GB, free: 55.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.3998, allocations: 394.9 kB / 0.5483 GB, free: 55.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.4018, allocations: 3.086 MB / 0.5513 GB, free: 52.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.4032, allocations: 81.02 kB / 0.5514 GB, free: 52.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.4033, allocations: 69 kB / 0.5515 GB, free: 52.71 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.001791/0.4051, allocations: 1.039 MB / 0.5525 GB, free: 52.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.4054, allocations: 180.7 kB / 0.5527 GB, free: 52.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.4084, allocations: 2.051 MB / 0.5547 GB, free: 51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.4084, allocations: 11.78 kB / 0.5547 GB, free: 51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.4084, allocations: 7.906 kB / 0.5547 GB, free: 51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.4085, allocations: 7.734 kB / 0.5547 GB, free: 51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/0.4146, allocations: 4.783 MB / 0.5594 GB, free: 48.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.4147, allocations: 1.75 kB / 0.5594 GB, free: 48.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006933/0.4154, allocations: 158.3 kB / 0.5595 GB, free: 48.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.4164, allocations: 447.8 kB / 0.5599 GB, free: 48.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/0.4164, allocations: 35.55 kB / 0.56 GB, free: 48.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007198/0.4237, allocations: 10.1 MB / 0.5698 GB, free: 38.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4237, allocations: 3.875 kB / 0.5698 GB, free: 38.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003775/0.4275, allocations: 2.861 MB / 0.5726 GB, free: 36.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007415/0.4282, allocations: 394.8 kB / 0.573 GB, free: 35.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.4284, allocations: 39.92 kB / 0.5731 GB, free: 35.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007416/0.4292, allocations: 59.95 kB / 0.5731 GB, free: 35.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.4294, allocations: 99.31 kB / 0.5732 GB, free: 35.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/0.4295, allocations: 32 kB / 0.5732 GB, free: 35.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001358/0.4309, allocations: 1.158 MB / 0.5744 GB, free: 34.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4309, allocations: 0 / 0.5744 GB, free: 34.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001858/0.4327, allocations: 0.539 MB / 0.5749 GB, free: 34 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.003816/0.4366, allocations: 3.475 MB / 0.5783 GB, free: 30.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002503/0.4391, allocations: 1.833 MB / 0.5801 GB, free: 28.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.4391, allocations: 0.9375 kB / 0.5801 GB, free: 28.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.4409, allocations: 1.489 MB / 0.5815 GB, free: 27.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.4432, allocations: 0.5052 MB / 0.582 GB, free: 26.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03422/0.4774, allocations: 22.26 MB / 0.6038 GB, free: 2.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/0.4799, allocations: 2.37 MB / 0.6061 GB, free: 308 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001492/0.4814, allocations: 388 kB / 0.6064 GB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/0.483, allocations: 1.148 MB / 0.6076 GB, free: 14.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.383e-06/0.483, allocations: 0 / 0.6076 GB, free: 14.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08356/0.5666, allocations: 48.54 MB / 0.655 GB, free: 14.58 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.5668, allocations: 219.9 kB / 0.6552 GB, free: 14.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.159, allocations: 4 kB / 0.6552 GB, free: 14.32 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1)