Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [: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.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 181.7 kB / 8.479 MB, free: 1.875 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.2 MB / 214.1 MB, free: 13.85 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.0008321/0.0008321, allocations: 90.97 kB / 262.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.282e-06/6.322e-06, allocations: 0 / 315 MB, free: 8.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1949, allocations: 47.56 MB / 362.6 MB, free: 45.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2753/0.4702, allocations: 162.4 MB / 0.5126 GB, free: 124.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.4705, allocations: 106.4 kB / 0.5127 GB, free: 124.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.224/1.694, allocations: 389.8 MB / 0.8934 GB, free: 27.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001053/1.695, allocations: 298.6 kB / 0.8937 GB, free: 27.74 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: 3597 * Number of variables: 3597 Notification: Performance of Generate backend data structure: time 0.04456/1.74, allocations: 11.39 MB / 0.9048 GB, free: 23.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/1.74, allocations: 9.5 kB / 0.9048 GB, free: 23.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03951/1.78, allocations: 6.04 MB / 0.9107 GB, free: 23.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03063/1.81, allocations: 9.679 MB / 0.9202 GB, free: 21.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001444/1.812, allocations: 423.9 kB / 0.9206 GB, free: 21.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006756/1.819, allocations: 0.7319 MB / 0.9213 GB, free: 21.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03626/1.855, allocations: 16.7 MB / 0.9376 GB, free: 17.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05565/1.911, allocations: 18.93 MB / 0.9561 GB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008021/1.911, allocations: 32.81 kB / 0.9561 GB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005315/1.917, allocations: 8 kB / 0.9561 GB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008414/1.918, allocations: 0.879 MB / 0.957 GB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3749/2.293, allocations: 67.21 MB / 1.023 GB, free: 73.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/2.304, allocations: 7.175 MB / 1.03 GB, free: 73.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01219/2.316, allocations: 7.814 MB / 1.037 GB, free: 73.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05772/2.374, allocations: 26.38 MB / 1.063 GB, free: 71.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/2.374, allocations: 118.5 kB / 1.063 GB, free: 71.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=879): time 1.784e-05/2.374, allocations: 0 / 1.063 GB, free: 71.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=923): time 0.07573/2.45, allocations: 30.29 MB / 1.093 GB, free: 61.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/2.45, allocations: 132.3 kB / 1.093 GB, free: 61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009172/2.459, allocations: 3.336 MB / 1.096 GB, free: 59.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002086/2.461, allocations: 31.97 kB / 1.096 GB, free: 59.65 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003404/2.465, allocations: 4.35 MB / 1.1 GB, free: 56.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004836/2.47, allocations: 2.955 MB / 1.103 GB, free: 54.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002159/2.472, allocations: 1.438 kB / 1.103 GB, free: 54.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001155/2.473, allocations: 0.7045 MB / 1.104 GB, free: 53.65 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01153/2.485, allocations: 5.744 MB / 1.11 GB, free: 51.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01348/2.498, allocations: 8.247 MB / 1.118 GB, free: 45.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/2.513, allocations: 7.473 MB / 1.125 GB, free: 43.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001391/2.514, allocations: 19.41 kB / 1.125 GB, free: 43.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=1282) (initialization): time 0.03948/2.553, allocations: 17.14 MB / 1.142 GB, free: 34.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/2.553, allocations: 4 kB / 1.142 GB, free: 34.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002186/2.553, allocations: 76 kB / 1.142 GB, free: 34.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007802/2.561, allocations: 4.107 MB / 1.146 GB, free: 30.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009535/2.571, allocations: 1.879 MB / 1.148 GB, free: 29.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/2.586, allocations: 12.69 MB / 1.16 GB, free: 17.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/2.596, allocations: 289.7 kB / 1.16 GB, free: 17.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003292/2.6, allocations: 433.2 kB / 1.161 GB, free: 16.73 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starMQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.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: smpmQS.stator.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real smpmQS.stator.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real resistorQS.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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] 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.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[2].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: 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.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] 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[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (984): * Single equations (assignments): 928 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.005521/2.605, allocations: 447.4 kB / 1.161 GB, free: 16.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003658/2.609, allocations: 0.6049 MB / 1.162 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0363/2.645, allocations: 15.99 MB / 1.177 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002583/2.646, allocations: 208.9 kB / 1.177 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-05/2.646, allocations: 0 / 1.177 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001744/2.646, allocations: 38.2 kB / 1.178 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2931/2.939, allocations: 31.31 MB / 1.208 GB, free: 80.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/2.939, allocations: 3.562 kB / 1.208 GB, free: 80.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00679/2.946, allocations: 1.243 MB / 1.209 GB, free: 80.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007758/2.954, allocations: 3.99 MB / 1.213 GB, free: 80.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001855/2.956, allocations: 80.47 kB / 1.213 GB, free: 80.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/2.969, allocations: 12.51 MB / 1.226 GB, free: 76.37 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/2.969, allocations: 7.656 kB / 1.226 GB, free: 76.37 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03869/3.008, allocations: 24.48 MB / 1.249 GB, free: 75.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00708/3.015, allocations: 1.896 MB / 1.251 GB, free: 74.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002547/3.018, allocations: 5.844 kB / 1.251 GB, free: 74.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005327/3.023, allocations: 211.3 kB / 1.251 GB, free: 74.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/3.024, allocations: 0.5854 MB / 1.252 GB, free: 74.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006538/3.025, allocations: 242 kB / 1.252 GB, free: 74.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.004874/3.03, allocations: 2.432 MB / 1.255 GB, free: 73.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01178/3.042, allocations: 2.017 MB / 1.257 GB, free: 73.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (659): * Single equations (assignments): 603 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002112/3.044, allocations: 0.5756 MB / 1.257 GB, free: 73.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02706/3.071, allocations: 14.35 MB / 1.271 GB, free: 68.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/3.071, allocations: 0.875 kB / 1.271 GB, free: 68.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01631/3.087, allocations: 7.438 MB / 1.278 GB, free: 65.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009041/3.096, allocations: 0.9946 MB / 1.279 GB, free: 65.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06279/3.159, allocations: 23.17 MB / 1.302 GB, free: 53.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01248/3.172, allocations: 8.669 MB / 1.311 GB, free: 46.61 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/3.172, allocations: 0 / 1.311 GB, free: 46.61 MB / 458.7 MB Notification: Performance of Templates: time 0.4649/3.637, allocations: 141.4 MB / 1.449 GB, free: 70.99 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_functions.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_functions.c Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_functions.c:655:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_y0 == 0.0)) ~~~~^~~~~~ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_functions.c:655:11: note: remove extraneous parentheses around the comparison to silence this warning if((_y0 == 0.0)) ~ ^ ~ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_functions.c:655: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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_records.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_records.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_01exo.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_01exo.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_02nls.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_02nls.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_03lsy.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_03lsy.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_04set.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_04set.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_05evt.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_05evt.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:65:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp3 = $Pu$lB1$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:66:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp4 = $Pu$lB1$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:67:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp5 = $Pu$lB2$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:68:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp6 = $Pu$lB2$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:69:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp7 = $Pu$lB3$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:70:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp8 = $Pu$lB3$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:90:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp9 = $Pu$lB1$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:91:11: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp10 = $Pu$lB1$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:92:11: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp11 = $Pu$lB2$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:93:11: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp12 = $Pu$lB2$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:94:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp13 = $Pu$lB3$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:95:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp14 = $Pu$lB3$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:153:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp18 = $Pu$lB1$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:154:11: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp19 = $Pu$lB1$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:155:11: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp20 = $Pu$lB2$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:156:11: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp21 = $Pu$lB2$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:157:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp22 = $Pu$lB3$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:158:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp23 = $Pu$lB3$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.c:178:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp24 = $Pu$lB1$rB$Pre; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource_06inz.o] Error 1