Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001146/0.001146, allocations: 180 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.136/1.136, allocations: 194.5 MB / 211.6 MB, free: 3.062 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001516/0.001516, allocations: 110.8 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07446/0.07482, allocations: 44.49 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/0.3153, allocations: 103.2 MB / 458.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.3155, allocations: 92.34 kB / 458.3 MB, free: 2.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3162/0.6318, allocations: 79.4 MB / 0.5251 GB, free: 81.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.6318, allocations: 0 / 0.5251 GB, free: 81.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001893/0.632, allocations: 75.91 kB / 0.5252 GB, free: 81.35 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.008101/0.6402, allocations: 3.45 MB / 0.5285 GB, free: 80.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.6402, allocations: 9.625 kB / 0.5286 GB, free: 80.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/0.6445, allocations: 0.7297 MB / 0.5293 GB, free: 79.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007884/0.6524, allocations: 3.295 MB / 0.5325 GB, free: 79.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.6527, allocations: 235.1 kB / 0.5327 GB, free: 79.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005839/0.6532, allocations: 312.5 kB / 0.533 GB, free: 79.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006456/0.6597, allocations: 4.141 MB / 0.537 GB, free: 79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.02e-05/0.6598, allocations: 4.906 kB / 0.5371 GB, free: 79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/0.6601, allocations: 132.7 kB / 0.5372 GB, free: 79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.6602, allocations: 150.9 kB / 0.5373 GB, free: 78.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005314/0.6656, allocations: 3.407 MB / 0.5407 GB, free: 78.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.681, allocations: 13.25 MB / 0.5536 GB, free: 75.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.6856, allocations: 6.907 MB / 0.5603 GB, free: 69.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00415/0.6898, allocations: 3.215 MB / 0.5635 GB, free: 67.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.6898, allocations: 45.94 kB / 0.5635 GB, free: 67.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 2.916e-06/0.6898, allocations: 0 / 0.5635 GB, free: 67.44 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : aimc.is[1] + aimc.is[2] + aimc.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ aimc.is[1] ; aimc.is[2] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; -aimc.is[3] ] might be structurally or numerically singular for variable aimc.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=161): time 0.01206/0.7019, allocations: 7.361 MB / 0.5707 GB, free: 63.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.7019, allocations: 72.36 kB / 0.5708 GB, free: 63.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.7037, allocations: 1.472 MB / 0.5722 GB, free: 63.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.056e-05/0.7038, allocations: 56.08 kB / 0.5723 GB, free: 63.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/0.7043, allocations: 1.386 MB / 0.5736 GB, free: 62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.7046, allocations: 0.542 MB / 0.5741 GB, free: 61.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.7047, allocations: 39.69 kB / 0.5742 GB, free: 61.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.7048, allocations: 378.3 kB / 0.5745 GB, free: 61.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.7059, allocations: 0.8084 MB / 0.5753 GB, free: 60.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.707, allocations: 1.268 MB / 0.5766 GB, free: 60 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.7083, allocations: 1.046 MB / 0.5776 GB, free: 59.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.7083, allocations: 3.875 kB / 0.5776 GB, free: 59.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00379/0.7121, allocations: 2.882 MB / 0.5804 GB, free: 58.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.7121, allocations: 8.656 kB / 0.5804 GB, free: 58.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.7121, allocations: 14.47 kB / 0.5804 GB, free: 58.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.7134, allocations: 0.5873 MB / 0.581 GB, free: 58.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.7147, allocations: 375.8 kB / 0.5814 GB, free: 58.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007402/0.7221, allocations: 8.769 MB / 0.5899 GB, free: 51.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.7237, allocations: 85.08 kB / 0.59 GB, free: 51.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.7238, allocations: 76.39 kB / 0.5901 GB, free: 51.58 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (186): * Single equations (assignments): 182 * 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: 3 * 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: 3 {(4,93.8%) 30,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001608/0.7254, allocations: 1.029 MB / 0.5911 GB, free: 50.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.7257, allocations: 196.3 kB / 0.5913 GB, free: 50.89 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : aimc.is[1] + aimc.is[2] + aimc.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; -aimc.is[3] ] might be structurally or numerically singular for variable aimc.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003692/0.7294, allocations: 2.689 MB / 0.5939 GB, free: 49.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.7294, allocations: 21.69 kB / 0.5939 GB, free: 49.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.7294, allocations: 7.562 kB / 0.5939 GB, free: 49.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.7295, allocations: 6.938 kB / 0.5939 GB, free: 49.58 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : aimc.is[1] + aimc.is[2] + aimc.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; -aimc.is[3] ] might be structurally or numerically singular for variable aimc.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.7369, allocations: 5.824 MB / 0.5996 GB, free: 46.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.737, allocations: 3.5 kB / 0.5996 GB, free: 46.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.738, allocations: 248.7 kB / 0.5999 GB, free: 46.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.7392, allocations: 0.5729 MB / 0.6004 GB, free: 46.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.657e-05/0.7393, allocations: 41.77 kB / 0.6005 GB, free: 46.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007556/0.7469, allocations: 9.995 MB / 0.6102 GB, free: 38.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7469, allocations: 3.562 kB / 0.6102 GB, free: 38.72 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : aimc.is[1] + aimc.is[2] + aimc.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; -aimc.is[3] ] might be structurally or numerically singular for variable aimc.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/0.7517, allocations: 3.903 MB / 0.614 GB, free: 36.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000945/0.7527, allocations: 470.7 kB / 0.6145 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.7529, allocations: 43.64 kB / 0.6145 GB, free: 35.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009041/0.7538, allocations: 78.44 kB / 0.6146 GB, free: 35.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.754, allocations: 123.2 kB / 0.6147 GB, free: 35.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.514e-05/0.7541, allocations: 47.66 kB / 0.6148 GB, free: 35.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001545/0.7557, allocations: 1.133 MB / 0.6159 GB, free: 34.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7557, allocations: 0 / 0.6159 GB, free: 34.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001943/0.7576, allocations: 0.6399 MB / 0.6165 GB, free: 33.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.is[3],aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,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 (117): * Single equations (assignments): 113 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,72.0%) 29,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005121/0.7582, allocations: 359 kB / 0.6168 GB, free: 33.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003522/0.7617, allocations: 2.735 MB / 0.6195 GB, free: 31.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7617, allocations: 0 / 0.6195 GB, free: 31.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.7638, allocations: 1.745 MB / 0.6212 GB, free: 29.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.7656, allocations: 481.8 kB / 0.6217 GB, free: 29.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008823/0.7744, allocations: 7.071 MB / 0.6286 GB, free: 22.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.7761, allocations: 2.389 MB / 0.6309 GB, free: 20.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001473/0.7776, allocations: 413.8 kB / 0.6313 GB, free: 20.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.7779, allocations: 130.4 kB / 0.6314 GB, free: 20.35 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.7779, allocations: 0 / 0.6314 GB, free: 20.35 MB / 394.7 MB Notification: Performance of Templates: time 0.04474/0.8227, allocations: 31.48 MB / 0.6622 GB, free: 9.145 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)