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.001221/0.001222, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04219/0.04219, allocations: 8.702 MB / 21.96 MB, free: 3.367 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.387/1.387, allocations: 221.4 MB / 246 MB, free: 3.605 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.0009877/0.0009877, allocations: 84.67 kB / 299.1 MB, free: 3.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.81e-05/3.813e-05, allocations: 4 kB / 359.6 MB, free: 6.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3055, allocations: 52.53 MB / 412.1 MB, free: 22.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4419/0.7474, allocations: 109 MB / 0.5089 GB, free: 94.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.7477, allocations: 74.84 kB / 0.509 GB, free: 94.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1699/0.9176, allocations: 82.5 MB / 0.5895 GB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.9177, allocations: 0 / 0.5895 GB, free: 15.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002419/0.918, allocations: 87.75 kB / 0.5896 GB, free: 15.83 MB / 378.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.009584/0.9276, allocations: 3.286 MB / 0.5928 GB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.9276, allocations: 12.03 kB / 0.5928 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001485/0.9291, allocations: 0.5186 MB / 0.5933 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/0.9333, allocations: 0.7412 MB / 0.5941 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008433/0.9417, allocations: 3.51 MB / 0.5975 GB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.942, allocations: 254.7 kB / 0.5977 GB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009603/0.9429, allocations: 335.9 kB / 0.5981 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007329/0.9503, allocations: 4.341 MB / 0.6023 GB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.867e-05/0.9504, allocations: 3.906 kB / 0.6023 GB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003083/0.9507, allocations: 144 kB / 0.6024 GB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.9508, allocations: 150.7 kB / 0.6026 GB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006186/0.957, allocations: 3.451 MB / 0.6059 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02646/0.9835, allocations: 14.24 MB / 0.6199 GB, free: 168 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006478/0.99, allocations: 6.053 MB / 0.6258 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.9921, allocations: 1.165 MB / 0.6269 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006802/0.9989, allocations: 3.282 MB / 0.6301 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.999, allocations: 43.56 kB / 0.6302 GB, free: 4.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=113): time 5.029e-06/0.999, allocations: 0 / 0.6302 GB, free: 4.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.007997/1.007, allocations: 3.723 MB / 0.6338 GB, free: 0.875 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.007, allocations: 68.34 kB / 0.6339 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003435/1.011, allocations: 1.447 MB / 0.6353 GB, free: 15.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/1.011, allocations: 45.7 kB / 0.6353 GB, free: 15.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/1.012, allocations: 1.492 MB / 0.6368 GB, free: 13.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005203/1.013, allocations: 410.1 kB / 0.6372 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/1.013, allocations: 36 kB / 0.6372 GB, free: 13.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/1.013, allocations: 369.9 kB / 0.6375 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/1.014, allocations: 0.5741 MB / 0.6381 GB, free: 12.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.016, allocations: 1.077 MB / 0.6392 GB, free: 11.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/1.017, allocations: 0.7934 MB / 0.6399 GB, free: 10.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.849e-05/1.017, allocations: 8 kB / 0.6399 GB, free: 10.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003985/1.021, allocations: 2.088 MB / 0.642 GB, free: 8.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/1.021, allocations: 13.56 kB / 0.642 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/1.021, allocations: 16 kB / 0.642 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/1.022, allocations: 138.9 kB / 0.6421 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.023, allocations: 395.3 kB / 0.6425 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/1.026, allocations: 3.091 MB / 0.6455 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.028, allocations: 84.08 kB / 0.6456 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/1.028, allocations: 72 kB / 0.6457 GB, free: 4.105 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 191 * 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%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004426/1.029, allocations: 199.2 kB / 0.6459 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005899/1.029, allocations: 177.8 kB / 0.646 GB, free: 3.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/1.033, allocations: 1.955 MB / 0.648 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/1.033, allocations: 12 kB / 0.648 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.033, allocations: 8 kB / 0.648 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/1.033, allocations: 11.95 kB / 0.648 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/1.044, allocations: 4.666 MB / 0.6525 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.044, allocations: 3.938 kB / 0.6525 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008225/1.045, allocations: 163.8 kB / 0.6527 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/1.046, allocations: 436 kB / 0.6531 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/1.046, allocations: 31.98 kB / 0.6531 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.057, allocations: 10.06 MB / 0.663 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/1.057, allocations: 4.219 kB / 0.663 GB, free: 1.512 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3025/1.36, allocations: 2.807 MB / 0.6657 GB, free: 85.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.361, allocations: 391 kB / 0.6661 GB, free: 85.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/1.361, allocations: 29.2 kB / 0.6661 GB, free: 85.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008668/1.362, allocations: 73.14 kB / 0.6662 GB, free: 85.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/1.362, allocations: 96.95 kB / 0.6663 GB, free: 85.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-05/1.362, allocations: 38.64 kB / 0.6663 GB, free: 85.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001864/1.364, allocations: 1.098 MB / 0.6674 GB, free: 85.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.364, allocations: 0 / 0.6674 GB, free: 85.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002421/1.367, allocations: 0.5786 MB / 0.668 GB, free: 85.14 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * 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%) 1,(1,100.0%) 8,(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.004366/1.371, allocations: 4.056 MB / 0.6719 GB, free: 83.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00245/1.374, allocations: 1.741 MB / 0.6736 GB, free: 83.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.374, allocations: 2.562 kB / 0.6736 GB, free: 83.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/1.376, allocations: 1.419 MB / 0.675 GB, free: 82.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/1.378, allocations: 496.9 kB / 0.6755 GB, free: 82.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/1.389, allocations: 5.422 MB / 0.6808 GB, free: 81.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/1.392, allocations: 2.42 MB / 0.6831 GB, free: 80.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001618/1.393, allocations: 386.9 kB / 0.6835 GB, free: 80.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/1.395, allocations: 1.152 MB / 0.6846 GB, free: 80.81 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/1.395, allocations: 4 kB / 0.6846 GB, free: 80.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08214/1.477, allocations: 50.8 MB / 0.7342 GB, free: 71.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/1.477, allocations: 171.4 kB / 0.7344 GB, free: 70.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.481/4.958, allocations: 4 kB / 0.7344 GB, free: 70.79 MB / 442.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)