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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 175.4 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04007/0.04007, allocations: 8.772 MB / 25.64 MB, free: 3.727 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 233.9 MB, free: 12.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008335/0.0008333, allocations: 89.55 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.000441, allocations: 12 kB / 344.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3073, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4468, allocations: 108.8 MB / 0.4915 GB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.4471, allocations: 83.95 kB / 0.4916 GB, free: 7.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4599/0.907, allocations: 82.18 MB / 0.5718 GB, free: 42.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.9071, allocations: 0 / 0.5718 GB, free: 42.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003538/0.9074, allocations: 83.88 kB / 0.5719 GB, free: 42.1 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.01259/0.9201, allocations: 3.541 MB / 0.5754 GB, free: 38.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.9201, allocations: 8.031 kB / 0.5754 GB, free: 38.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004969/0.9251, allocations: 0.7576 MB / 0.5761 GB, free: 37.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008936/0.9341, allocations: 2.844 MB / 0.5789 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.9344, allocations: 259.1 kB / 0.5791 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/0.9358, allocations: 328.3 kB / 0.5794 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.9497, allocations: 4.446 MB / 0.5838 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002241/0.95, allocations: 15.78 kB / 0.5838 GB, free: 29.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.9511, allocations: 144 kB / 0.5839 GB, free: 29.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/0.9513, allocations: 154.7 kB / 0.5841 GB, free: 29.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008638/0.96, allocations: 3.572 MB / 0.5876 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02917/0.9892, allocations: 14.25 MB / 0.6015 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005811/0.9951, allocations: 6.155 MB / 0.6075 GB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.997, allocations: 1.216 MB / 0.6087 GB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0066/1.004, allocations: 3.333 MB / 0.6119 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/1.004, allocations: 47.5 kB / 0.612 GB, free: 15.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=115): time 4.268e-06/1.004, allocations: 0 / 0.612 GB, free: 15.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=118): time 0.01261/1.016, allocations: 5.273 MB / 0.6171 GB, free: 9.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.017, allocations: 64.41 kB / 0.6172 GB, free: 9.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/1.02, allocations: 1.651 MB / 0.6188 GB, free: 8.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.021, allocations: 45.7 kB / 0.6189 GB, free: 8.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/1.022, allocations: 1.484 MB / 0.6203 GB, free: 6.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/1.022, allocations: 418 kB / 0.6207 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/1.022, allocations: 32 kB / 0.6207 GB, free: 6.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/1.023, allocations: 365.9 kB / 0.6211 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/1.024, allocations: 0.6286 MB / 0.6217 GB, free: 5.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/1.025, allocations: 1.139 MB / 0.6228 GB, free: 3.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/1.028, allocations: 1.873 MB / 0.6246 GB, free: 1.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/1.028, allocations: 4 kB / 0.6246 GB, free: 1.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004039/1.032, allocations: 2.197 MB / 0.6268 GB, free: 15.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.032, allocations: 12 kB / 0.6268 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/1.032, allocations: 16.41 kB / 0.6268 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/1.033, allocations: 146.4 kB / 0.627 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/1.034, allocations: 403.4 kB / 0.6273 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/1.037, allocations: 3.095 MB / 0.6304 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.039, allocations: 75.95 kB / 0.6304 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.039, allocations: 68 kB / 0.6305 GB, free: 11.48 MB / 410.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 () * 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 (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.002508/1.041, allocations: 1.048 MB / 0.6315 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006347/1.042, allocations: 181.8 kB / 0.6317 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004223/1.046, allocations: 2.06 MB / 0.6337 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/1.046, allocations: 16 kB / 0.6337 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.814e-05/1.046, allocations: 4 kB / 0.6337 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.046, allocations: 7.984 kB / 0.6337 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.057, allocations: 4.767 MB / 0.6384 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.057, allocations: 192 / 0.6384 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/1.057, allocations: 167.8 kB / 0.6386 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/1.059, allocations: 459.8 kB / 0.639 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.059, allocations: 35.98 kB / 0.639 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/1.07, allocations: 10.09 MB / 0.6489 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.07, allocations: 4.031 kB / 0.6489 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005406/1.076, allocations: 2.873 MB / 0.6517 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.077, allocations: 394.8 kB / 0.6521 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006195/1.078, allocations: 28 kB / 0.6521 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.079, allocations: 67.95 kB / 0.6522 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/1.079, allocations: 96.98 kB / 0.6523 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.08, allocations: 39.98 kB / 0.6523 GB, free: 4.168 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002713/1.082, allocations: 1.131 MB / 0.6534 GB, free: 3.043 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.082, allocations: 0 / 0.6534 GB, free: 3.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003202/1.085, allocations: 0.5782 MB / 0.654 GB, free: 2.465 MB / 426.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 (81): * Single equations (assignments): 76 * 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.0007667/1.086, allocations: 361.7 kB / 0.6543 GB, free: 2.105 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003647/1.09, allocations: 1.841 MB / 0.6561 GB, free: 224 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.09, allocations: 4.25 kB / 0.6561 GB, free: 220 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2721/1.362, allocations: 1.495 MB / 0.6576 GB, free: 94.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/1.365, allocations: 0.4998 MB / 0.6581 GB, free: 94.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.375, allocations: 6.929 MB / 0.6648 GB, free: 91.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/1.378, allocations: 2.359 MB / 0.6671 GB, free: 90.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001626/1.379, allocations: 392 kB / 0.6675 GB, free: 90.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/1.38, allocations: 123 kB / 0.6676 GB, free: 90.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.113e-06/1.38, allocations: 0 / 0.6676 GB, free: 90.68 MB / 426.7 MB Notification: Performance of Templates: time 0.05387/1.433, allocations: 28.49 MB / 0.6954 GB, free: 89.04 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile (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)