Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",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.001024/0.001024, allocations: 174.8 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.0387/0.0387, allocations: 8.699 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.406/1.406, allocations: 221.4 MB / 246 MB, free: 3.559 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.0009294/0.0009296, allocations: 91.42 kB / 299.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.564e-05, allocations: 4 kB / 359.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3064, allocations: 52.54 MB / 412.2 MB, free: 22.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.7593, allocations: 109 MB / 0.5089 GB, free: 94.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.7596, allocations: 78.47 kB / 0.509 GB, free: 94.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1717/0.9314, allocations: 82.92 MB / 0.59 GB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.9314, allocations: 4 kB / 0.59 GB, free: 15.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002183/0.9317, allocations: 87.86 kB / 0.5901 GB, free: 15.36 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.008951/0.9406, allocations: 3.288 MB / 0.5933 GB, free: 12.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.9407, allocations: 8.031 kB / 0.5933 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001354/0.942, allocations: 0.5187 MB / 0.5938 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003938/0.946, allocations: 0.7451 MB / 0.5945 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008322/0.9543, allocations: 3.507 MB / 0.5979 GB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.9546, allocations: 254.7 kB / 0.5982 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008915/0.9555, allocations: 335.9 kB / 0.5985 GB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006963/0.9624, allocations: 4.333 MB / 0.6027 GB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-05/0.9625, allocations: 7.906 kB / 0.6028 GB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.9628, allocations: 143.9 kB / 0.6029 GB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.9629, allocations: 150.7 kB / 0.603 GB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005603/0.9686, allocations: 3.447 MB / 0.6064 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02384/0.9924, allocations: 14.24 MB / 0.6203 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006306/0.9988, allocations: 6.057 MB / 0.6262 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/1.001, allocations: 1.169 MB / 0.6274 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005972/1.007, allocations: 3.279 MB / 0.6306 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.007, allocations: 47.5 kB / 0.6306 GB, free: 4.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=113): time 4.048e-06/1.007, allocations: 0 / 0.6306 GB, free: 4.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.007043/1.014, allocations: 3.719 MB / 0.6342 GB, free: 424 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/1.014, allocations: 68.34 kB / 0.6343 GB, free: 344 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/1.017, allocations: 1.447 MB / 0.6357 GB, free: 14.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.017, allocations: 49.7 kB / 0.6358 GB, free: 14.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/1.018, allocations: 1.492 MB / 0.6372 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/1.018, allocations: 406.2 kB / 0.6376 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/1.018, allocations: 32 kB / 0.6376 GB, free: 12.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/1.018, allocations: 365.9 kB / 0.638 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009253/1.019, allocations: 0.5702 MB / 0.6385 GB, free: 11.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/1.021, allocations: 1.081 MB / 0.6396 GB, free: 10.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/1.022, allocations: 0.7974 MB / 0.6404 GB, free: 9.859 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/1.022, allocations: 4 kB / 0.6404 GB, free: 9.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003407/1.025, allocations: 2.088 MB / 0.6424 GB, free: 7.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/1.025, allocations: 13.72 kB / 0.6424 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/1.025, allocations: 16 kB / 0.6425 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004122/1.026, allocations: 142.5 kB / 0.6426 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.027, allocations: 391.5 kB / 0.643 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/1.03, allocations: 3.099 MB / 0.646 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/1.031, allocations: 75.88 kB / 0.6461 GB, free: 3.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.031, allocations: 75.92 kB / 0.6461 GB, free: 3.648 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.000301/1.032, allocations: 212.5 kB / 0.6463 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/1.032, allocations: 177.8 kB / 0.6465 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/1.036, allocations: 1.959 MB / 0.6484 GB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.036, allocations: 12 kB / 0.6484 GB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.036, allocations: 8 kB / 0.6484 GB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/1.036, allocations: 3.984 kB / 0.6484 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007927/1.044, allocations: 4.67 MB / 0.653 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/1.044, allocations: 0 / 0.653 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007281/1.044, allocations: 164 kB / 0.6532 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/1.046, allocations: 435.9 kB / 0.6536 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-05/1.046, allocations: 35.98 kB / 0.6536 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009799/1.056, allocations: 10.04 MB / 0.6634 GB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.056, allocations: 0 / 0.6634 GB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3347/1.39, allocations: 2.813 MB / 0.6662 GB, free: 85.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.392, allocations: 387.3 kB / 0.6665 GB, free: 85.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/1.392, allocations: 30.66 kB / 0.6666 GB, free: 85.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008768/1.393, allocations: 72.66 kB / 0.6666 GB, free: 85.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/1.393, allocations: 93.53 kB / 0.6667 GB, free: 85.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/1.393, allocations: 37.72 kB / 0.6668 GB, free: 85.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002109/1.395, allocations: 1.102 MB / 0.6678 GB, free: 85.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.395, allocations: 6.688 kB / 0.6678 GB, free: 85.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002493/1.398, allocations: 0.5765 MB / 0.6684 GB, free: 85.3 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.004697/1.403, allocations: 4.063 MB / 0.6724 GB, free: 83.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002895/1.405, allocations: 1.736 MB / 0.6741 GB, free: 83.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.405, allocations: 1.281 kB / 0.6741 GB, free: 83.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002004/1.407, allocations: 1.422 MB / 0.6755 GB, free: 82.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.41, allocations: 0.4924 MB / 0.6759 GB, free: 82.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.42, allocations: 5.415 MB / 0.6812 GB, free: 81.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002405/1.422, allocations: 2.423 MB / 0.6836 GB, free: 81.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001731/1.424, allocations: 380.3 kB / 0.684 GB, free: 80.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/1.426, allocations: 1.154 MB / 0.6851 GB, free: 80.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/1.426, allocations: 0 / 0.6851 GB, free: 80.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08359/1.509, allocations: 50.82 MB / 0.7347 GB, free: 70.76 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/1.51, allocations: 175.4 kB / 0.7349 GB, free: 70.53 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.497/5.007, allocations: 4 kB / 0.7349 GB, free: 70.53 MB / 442.7 MB (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1)