Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001526/0.001527, allocations: 195.9 kB / 8.139 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.106/1.106, allocations: 194.2 MB / 202.8 MB, free: 8.742 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.001836/0.001836, allocations: 110.7 kB / 247.7 MB, free: 6.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/7.234e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07081/0.07085, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2703/0.3412, allocations: 156.2 MB / 498.3 MB, free: 4.215 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/0.3416, allocations: 98.44 kB / 498.4 MB, free: 4.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.875/2.217, allocations: 0.5652 GB / 1.052 GB, free: 31.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001433/2.218, allocations: 419.1 kB / 1.052 GB, free: 31.95 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.06379/2.282, allocations: 17 MB / 1.069 GB, free: 26.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/2.282, allocations: 10.53 kB / 1.069 GB, free: 26.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05223/2.334, allocations: 7.918 MB / 1.077 GB, free: 25.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04053/2.375, allocations: 14.59 MB / 1.091 GB, free: 23.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001739/2.377, allocations: 0.5901 MB / 1.091 GB, free: 23.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007914/2.385, allocations: 1.025 MB / 1.092 GB, free: 23.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05326/2.438, allocations: 24.66 MB / 1.117 GB, free: 23.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07127/2.509, allocations: 27.96 MB / 1.144 GB, free: 5.051 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008156/2.51, allocations: 21.31 kB / 1.144 GB, free: 5.031 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005995/2.516, allocations: 12 kB / 1.144 GB, free: 5.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001335/2.517, allocations: 1.231 MB / 1.145 GB, free: 3.918 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.433/2.95, allocations: 97.85 MB / 1.241 GB, free: 67.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02862/2.979, allocations: 10.99 MB / 1.251 GB, free: 66.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03438/3.013, allocations: 13.12 MB / 1.264 GB, free: 61.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1353/3.149, allocations: 42.24 MB / 1.305 GB, free: 40.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/3.149, allocations: 157.1 kB / 1.306 GB, free: 40.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1370): time 2.929e-05/3.149, allocations: 2.875 kB / 1.306 GB, free: 40.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1378): time 0.1268/3.276, allocations: 51.33 MB / 1.356 GB, free: 6.895 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/3.276, allocations: 225.8 kB / 1.356 GB, free: 6.652 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006242/3.282, allocations: 4.278 MB / 1.36 GB, free: 2.902 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001825/3.284, allocations: 33.3 kB / 1.36 GB, free: 2.867 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1823/3.467, allocations: 5.566 MB / 1.366 GB, free: 74.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005344/3.472, allocations: 4.354 MB / 1.37 GB, free: 72.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/3.473, allocations: 0 / 1.37 GB, free: 72.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008182/3.474, allocations: 0.8418 MB / 1.371 GB, free: 71.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01277/3.487, allocations: 8.94 MB / 1.379 GB, free: 71.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01533/3.502, allocations: 11.09 MB / 1.39 GB, free: 69.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.018/3.52, allocations: 10.99 MB / 1.401 GB, free: 69.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-05/3.52, allocations: 18.53 kB / 1.401 GB, free: 69.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.04439/3.565, allocations: 26.61 MB / 1.427 GB, free: 68.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/3.565, allocations: 10.98 kB / 1.427 GB, free: 68.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/3.565, allocations: 53.12 kB / 1.427 GB, free: 68.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01605/3.581, allocations: 8.928 MB / 1.436 GB, free: 68.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01036/3.592, allocations: 2.044 MB / 1.438 GB, free: 68.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03028/3.622, allocations: 31.2 MB / 1.468 GB, free: 52.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/3.632, allocations: 327.1 kB / 1.468 GB, free: 52.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002365/3.634, allocations: 496.8 kB / 1.469 GB, free: 52.42 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imsQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] powerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[2].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[1].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[2].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] powerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: rheostatQS.starRheostat.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: rheostatQS.star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1085): * Single equations (assignments): 1021 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of prepare postOptimizeDAE: time 0.002966/3.637, allocations: 0.5157 MB / 1.469 GB, free: 52.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002277/3.64, allocations: 0.8349 MB / 1.47 GB, free: 51.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04618/3.686, allocations: 27.22 MB / 1.497 GB, free: 40.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03118/3.717, allocations: 21.57 MB / 1.518 GB, free: 27.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.401e-05/3.717, allocations: 12 kB / 1.518 GB, free: 27.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001781/3.717, allocations: 57.61 kB / 1.518 GB, free: 27.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2938/4.011, allocations: 50.05 MB / 1.567 GB, free: 64.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000106/4.011, allocations: 3.875 kB / 1.567 GB, free: 64.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008719/4.02, allocations: 1.512 MB / 1.568 GB, free: 64.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01893/4.039, allocations: 9.042 MB / 1.577 GB, free: 63.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002721/4.042, allocations: 130.9 kB / 1.577 GB, free: 63.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03678/4.079, allocations: 36.94 MB / 1.613 GB, free: 49.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/4.079, allocations: 7.031 kB / 1.613 GB, free: 49.04 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07099/4.15, allocations: 41.14 MB / 1.654 GB, free: 43.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008471/4.158, allocations: 2.93 MB / 1.656 GB, free: 42.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003931/4.162, allocations: 11.16 kB / 1.656 GB, free: 42.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008237/4.17, allocations: 314.7 kB / 1.657 GB, free: 42.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003277/4.174, allocations: 0.9351 MB / 1.658 GB, free: 42.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001675/4.175, allocations: 365.7 kB / 1.658 GB, free: 41.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005206/4.181, allocations: 3.19 MB / 1.661 GB, free: 40.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01425/4.195, allocations: 2.923 MB / 1.664 GB, free: 40.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (817): * Single equations (assignments): 751 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of Backend phase and start with SimCode phase: time 0.003068/4.198, allocations: 0.573 MB / 1.665 GB, free: 40.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03758/4.235, allocations: 22.59 MB / 1.687 GB, free: 31.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/4.236, allocations: 5.562 kB / 1.687 GB, free: 31.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02118/4.257, allocations: 12.83 MB / 1.699 GB, free: 24.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.011/4.268, allocations: 1.453 MB / 1.701 GB, free: 23.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2759/4.544, allocations: 35.13 MB / 1.735 GB, free: 56.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.023/4.567, allocations: 12.59 MB / 1.747 GB, free: 55.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/4.567, allocations: 3.406 kB / 1.747 GB, free: 55.1 MB / 474.7 MB Notification: Performance of Templates: time 0.5125/5.079, allocations: 224.4 MB / 1.966 GB, free: 44.89 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=14 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=14 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_functions.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_functions.c Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_functions.c:762:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_y0 == 0.0)) ~~~~^~~~~~ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_functions.c:762:11: note: remove extraneous parentheses around the comparison to silence this warning if((_y0 == 0.0)) ~ ^ ~ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_functions.c:762:11: note: use '=' to turn this equality comparison into an assignment if((_y0 == 0.0)) ^~ = 1 warning generated. clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=14 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_records.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_records.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=14 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_01exo.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_01exo.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=14 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_02nls.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_02nls.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=14 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_03lsy.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_03lsy.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=14 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_04set.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_04set.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=14 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_05evt.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_05evt.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=14 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:27:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:28:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:29:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:30:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:31:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:32:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:52:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp6 = $Pu$lB1$rB$Pre; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:53:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp7 = $Pu$lB1$rB$Pim; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:54:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp8 = $Pu$lB2$rB$Pre; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:55:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp9 = $Pu$lB2$rB$Pim; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:56:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp10 = $Pu$lB3$rB$Pre; ^ Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.c:57:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp11 = $Pu$lB3$rB$Pim; ^ 12 errors generated. make: *** [: Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_06inz.o] Error 1