Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.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/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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009189/0.000919, allocations: 102 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002361/0.0002361, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.236, allocations: 47.57 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.3635, allocations: 111.9 MB / 487.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.3638, allocations: 91.94 kB / 487.9 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7787/1.143, allocations: 182.6 MB / 0.6548 GB, free: 49.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.996e-06/1.143, allocations: 0 / 0.6548 GB, free: 49.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006527/1.143, allocations: 189.8 kB / 0.655 GB, free: 49.15 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02597/1.169, allocations: 8.354 MB / 0.6632 GB, free: 46.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.169, allocations: 13.91 kB / 0.6632 GB, free: 46.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004493/1.174, allocations: 1.111 MB / 0.6643 GB, free: 46.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/1.185, allocations: 1.829 MB / 0.666 GB, free: 45.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01778/1.203, allocations: 7.004 MB / 0.6729 GB, free: 45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006772/1.203, allocations: 0.5918 MB / 0.6735 GB, free: 44.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003119/1.207, allocations: 0.7875 MB / 0.6742 GB, free: 44.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02833/1.235, allocations: 10.99 MB / 0.685 GB, free: 44.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003897/1.235, allocations: 11.19 kB / 0.685 GB, free: 44.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/1.238, allocations: 335.9 kB / 0.6853 GB, free: 44.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003238/1.238, allocations: 367.4 kB / 0.6856 GB, free: 44.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/1.259, allocations: 9.316 MB / 0.6947 GB, free: 44.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06409/1.323, allocations: 34.56 MB / 0.7285 GB, free: 31.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/1.34, allocations: 19.86 MB / 0.7479 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01803/1.359, allocations: 7.977 MB / 0.7557 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/1.359, allocations: 74.83 kB / 0.7557 GB, free: 10.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=343): time 5.831e-06/1.359, allocations: 0 / 0.7557 GB, free: 10.49 MB / 426.7 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=377): time 0.04174/1.4, allocations: 17.77 MB / 0.7731 GB, free: 2.609 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/1.4, allocations: 93.03 kB / 0.7732 GB, free: 2.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007648/1.408, allocations: 3.86 MB / 0.777 GB, free: 0 / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007317/1.409, allocations: 90.03 kB / 0.777 GB, free: 15.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002699/1.412, allocations: 3.478 MB / 0.7804 GB, free: 12.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00152/1.413, allocations: 1.266 MB / 0.7817 GB, free: 11.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/1.414, allocations: 83.56 kB / 0.7818 GB, free: 11.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003251/1.414, allocations: 473.7 kB / 0.7822 GB, free: 11.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003634/1.418, allocations: 2.022 MB / 0.7842 GB, free: 9.441 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004233/1.422, allocations: 3.017 MB / 0.7871 GB, free: 6.352 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004373/1.426, allocations: 2.536 MB / 0.7896 GB, free: 4.066 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-05/1.426, allocations: 8 kB / 0.7896 GB, free: 4.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.01652/1.443, allocations: 6.927 MB / 0.7964 GB, free: 15.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/1.443, allocations: 20 kB / 0.7964 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.143e-05/1.443, allocations: 28.69 kB / 0.7964 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/1.446, allocations: 1.144 MB / 0.7975 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/1.45, allocations: 0.8405 MB / 0.7984 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.229/1.679, allocations: 18.44 MB / 0.8164 GB, free: 71.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003897/1.683, allocations: 193.7 kB / 0.8166 GB, free: 71.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006627/1.684, allocations: 167.6 kB / 0.8167 GB, free: 71.67 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 433 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(3,100.0%) 31,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004888/1.688, allocations: 2.62 MB / 0.8193 GB, free: 71.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.69, allocations: 467.1 kB / 0.8197 GB, free: 71.55 MB / 458.7 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.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.01062/1.7, allocations: 6.368 MB / 0.8259 GB, free: 71.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/1.7, allocations: 37.78 kB / 0.826 GB, free: 71.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.274e-05/1.7, allocations: 22.94 kB / 0.826 GB, free: 71.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-05/1.7, allocations: 17.67 kB / 0.826 GB, free: 71.07 MB / 458.7 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[1] ; aimc3.is[2] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/1.725, allocations: 14.27 MB / 0.8399 GB, free: 70.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.725, allocations: 3.969 kB / 0.8399 GB, free: 70.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/1.727, allocations: 486.2 kB / 0.8404 GB, free: 70.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003774/1.731, allocations: 1.502 MB / 0.8419 GB, free: 70 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004533/1.731, allocations: 94.89 kB / 0.842 GB, free: 70 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02225/1.754, allocations: 25.83 MB / 0.8672 GB, free: 58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.754, allocations: 6.969 kB / 0.8672 GB, free: 58 MB / 458.7 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.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.01339/1.767, allocations: 9.558 MB / 0.8765 GB, free: 55.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003038/1.77, allocations: 1.027 MB / 0.8775 GB, free: 55.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.771, allocations: 86.91 kB / 0.8776 GB, free: 55.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/1.774, allocations: 199.8 kB / 0.8778 GB, free: 55.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007735/1.775, allocations: 358.2 kB / 0.8782 GB, free: 55.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.775, allocations: 105.4 kB / 0.8783 GB, free: 55.01 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004506/1.779, allocations: 2.95 MB / 0.8811 GB, free: 53.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.779, allocations: 0 / 0.8811 GB, free: 53.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006457/1.786, allocations: 1.542 MB / 0.8826 GB, free: 53.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.is[3],aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.stator.zeroInductor.i0,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 232 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(5,72.0%) 29,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 1,(6,72.2%) 46,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of Backend phase and start with SimCode phase: time 0.0141/1.8, allocations: 11.4 MB / 0.8938 GB, free: 47.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009649/1.81, allocations: 6.418 MB / 0.9 GB, free: 44.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.81, allocations: 0 / 0.9 GB, free: 44.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006251/1.816, allocations: 4.401 MB / 0.9043 GB, free: 42.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005501/1.821, allocations: 1.173 MB / 0.9055 GB, free: 42.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08948/1.911, allocations: 66.91 MB / 0.9708 GB, free: 3.559 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008987/1.92, allocations: 5.447 MB / 0.9762 GB, free: 15.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004255/1.924, allocations: 1.053 MB / 0.9772 GB, free: 15.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005731/1.93, allocations: 3.095 MB / 0.9802 GB, free: 12.36 MB / 490.7 MB Notification: Performance of SimCode: time 1.954e-06/1.93, allocations: 0 / 0.9802 GB, free: 12.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3856/2.316, allocations: 131.2 MB / 1.108 GB, free: 67.62 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/2.316, allocations: 226.7 kB / 1.109 GB, free: 67.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.405/7.721, allocations: 0 / 1.109 GB, free: 67.38 MB / 490.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)