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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006915/0.006915, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03873/0.03873, allocations: 8.794 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 250.7 MB, free: 4.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 105.4 kB / 304 MB, free: 3.543 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 12 kB / 367.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 52.55 MB / 419.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.4921, allocations: 109 MB / 0.5163 GB, free: 15.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.4924, allocations: 79.97 kB / 0.5164 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4623/0.9547, allocations: 82.49 MB / 0.5969 GB, free: 80.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.9548, allocations: 0 / 0.5969 GB, free: 80.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003804/0.9552, allocations: 89.75 kB / 0.597 GB, free: 80.29 MB / 442.7 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.01346/0.9686, allocations: 3.58 MB / 0.6005 GB, free: 78.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.9687, allocations: 9 kB / 0.6005 GB, free: 78.87 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002676/0.9714, allocations: 0.5257 MB / 0.6011 GB, free: 78.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/0.9769, allocations: 0.7453 MB / 0.6018 GB, free: 78.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.9884, allocations: 3.538 MB / 0.6052 GB, free: 78.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/0.9889, allocations: 252.9 kB / 0.6055 GB, free: 78.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/0.9907, allocations: 337.5 kB / 0.6058 GB, free: 78.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/1.008, allocations: 4.419 MB / 0.6101 GB, free: 77.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002858/1.008, allocations: 1.984 kB / 0.6101 GB, free: 77.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00143/1.009, allocations: 146.3 kB / 0.6103 GB, free: 77.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/1.01, allocations: 151.3 kB / 0.6104 GB, free: 77.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/1.021, allocations: 3.572 MB / 0.6139 GB, free: 77.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03288/1.054, allocations: 14.26 MB / 0.6278 GB, free: 73.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005683/1.059, allocations: 6.164 MB / 0.6338 GB, free: 67.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006386/1.066, allocations: 2.972 MB / 0.6367 GB, free: 65.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/1.066, allocations: 50.06 kB / 0.6368 GB, free: 65.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 2.866e-06/1.066, allocations: 0 / 0.6368 GB, free: 65.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.01095/1.077, allocations: 5.382 MB / 0.642 GB, free: 62.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/1.077, allocations: 69.81 kB / 0.6421 GB, free: 62.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/1.08, allocations: 1.457 MB / 0.6435 GB, free: 62.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001709/1.08, allocations: 47.92 kB / 0.6436 GB, free: 62.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009379/1.081, allocations: 1.477 MB / 0.645 GB, free: 60.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/1.081, allocations: 443.2 kB / 0.6454 GB, free: 60.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.081, allocations: 30.28 kB / 0.6455 GB, free: 60.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/1.082, allocations: 377.2 kB / 0.6458 GB, free: 60.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/1.083, allocations: 0.6474 MB / 0.6465 GB, free: 59.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.084, allocations: 1.136 MB / 0.6476 GB, free: 59.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/1.085, allocations: 0.8627 MB / 0.6484 GB, free: 58.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/1.085, allocations: 3.812 kB / 0.6484 GB, free: 58.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003531/1.089, allocations: 2.23 MB / 0.6506 GB, free: 57.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/1.089, allocations: 10 kB / 0.6506 GB, free: 57.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.089, allocations: 14.97 kB / 0.6506 GB, free: 57.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003679/1.089, allocations: 149.5 kB / 0.6508 GB, free: 57.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/1.091, allocations: 400.4 kB / 0.6511 GB, free: 57.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/1.093, allocations: 3.099 MB / 0.6542 GB, free: 54.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/1.094, allocations: 87.77 kB / 0.6542 GB, free: 54.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/1.095, allocations: 65.53 kB / 0.6543 GB, free: 54.55 MB / 442.7 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.002269/1.097, allocations: 1.036 MB / 0.6553 GB, free: 53.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005337/1.097, allocations: 176.2 kB / 0.6555 GB, free: 53.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/1.101, allocations: 2.131 MB / 0.6576 GB, free: 52.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/1.101, allocations: 11.25 kB / 0.6576 GB, free: 52.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/1.101, allocations: 7.344 kB / 0.6576 GB, free: 52.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.101, allocations: 15.23 kB / 0.6576 GB, free: 52.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009481/1.111, allocations: 4.902 MB / 0.6624 GB, free: 50.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.111, allocations: 3.953 kB / 0.6624 GB, free: 50.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007857/1.112, allocations: 183.2 kB / 0.6626 GB, free: 50.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/1.113, allocations: 440.3 kB / 0.663 GB, free: 50.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/1.113, allocations: 36.17 kB / 0.663 GB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007866/1.121, allocations: 10.24 MB / 0.673 GB, free: 41.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.121, allocations: 7.672 kB / 0.673 GB, free: 41.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/1.126, allocations: 3.07 MB / 0.676 GB, free: 39.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.127, allocations: 400.2 kB / 0.6764 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006132/1.128, allocations: 40.31 kB / 0.6765 GB, free: 39.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.129, allocations: 66.97 kB / 0.6765 GB, free: 39.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/1.129, allocations: 106.6 kB / 0.6766 GB, free: 39.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/1.129, allocations: 37.61 kB / 0.6767 GB, free: 39.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001683/1.131, allocations: 1.116 MB / 0.6777 GB, free: 39.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.131, allocations: 0 / 0.6777 GB, free: 39.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002829/1.134, allocations: 0.5836 MB / 0.6783 GB, free: 39.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * 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.004882/1.139, allocations: 4.279 MB / 0.6825 GB, free: 36.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002755/1.142, allocations: 1.898 MB / 0.6843 GB, free: 35.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.142, allocations: 0 / 0.6843 GB, free: 35.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/1.144, allocations: 1.533 MB / 0.6858 GB, free: 34.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.146, allocations: 498.7 kB / 0.6863 GB, free: 34.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03379/1.18, allocations: 26.12 MB / 0.7118 GB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00315/1.183, allocations: 2.426 MB / 0.7142 GB, free: 9.855 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001699/1.185, allocations: 391.5 kB / 0.7146 GB, free: 9.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/1.186, allocations: 1.115 MB / 0.7157 GB, free: 8.555 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/1.186, allocations: 0 / 0.7157 GB, free: 8.555 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3444/1.531, allocations: 50.5 MB / 0.765 GB, free: 85.39 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/1.531, allocations: 201.1 kB / 0.7652 GB, free: 85.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/5.045, allocations: 1.781 kB / 0.7652 GB, free: 85.14 MB / 458.7 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/linux/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)