Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002618/0.002624, allocations: 176.9 kB / 8.152 MB, free: 2.121 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.786/1.786, allocations: 205.2 MB / 213.7 MB, free: 13.88 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.001343/0.001343, allocations: 93.62 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.578e-06/9.608e-06, allocations: 0 / 314.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2875, allocations: 47.56 MB / 361.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.7173, allocations: 162.4 MB / 0.512 GB, free: 81.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/0.7177, allocations: 94.45 kB / 0.512 GB, free: 81.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.657/2.375, allocations: 389.8 MB / 0.8927 GB, free: 40.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001177/2.376, allocations: 298.6 kB / 0.893 GB, free: 40.38 MB / 442.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.05679/2.433, allocations: 11.4 MB / 0.9041 GB, free: 36.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/2.433, allocations: 11.03 kB / 0.9041 GB, free: 36.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05948/2.492, allocations: 6.038 MB / 0.91 GB, free: 35.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04029/2.533, allocations: 9.676 MB / 0.9195 GB, free: 34.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001562/2.534, allocations: 424.8 kB / 0.9199 GB, free: 34.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007923/2.542, allocations: 0.7344 MB / 0.9206 GB, free: 34.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05848/2.601, allocations: 16.7 MB / 0.9369 GB, free: 31.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07113/2.672, allocations: 18.93 MB / 0.9554 GB, free: 20.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009087/2.673, allocations: 27.08 kB / 0.9554 GB, free: 20.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005718/2.679, allocations: 12 kB / 0.9554 GB, free: 20.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/2.68, allocations: 0.8785 MB / 0.9563 GB, free: 19.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4283/3.108, allocations: 67.22 MB / 1.022 GB, free: 72.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/3.126, allocations: 7.173 MB / 1.029 GB, free: 72.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02103/3.147, allocations: 7.821 MB / 1.037 GB, free: 72.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08407/3.232, allocations: 26.37 MB / 1.062 GB, free: 70.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/3.232, allocations: 115 kB / 1.062 GB, free: 70.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=879): time 1.365e-05/3.232, allocations: 2.969 kB / 1.062 GB, free: 70.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=923): time 0.1098/3.342, allocations: 30.28 MB / 1.092 GB, free: 61.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/3.342, allocations: 137.4 kB / 1.092 GB, free: 61.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/3.353, allocations: 3.34 MB / 1.095 GB, free: 60.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002212/3.355, allocations: 30.55 kB / 1.095 GB, free: 60.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002834/3.358, allocations: 4.161 MB / 1.099 GB, free: 57.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005816/3.364, allocations: 2.948 MB / 1.102 GB, free: 55.03 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002449/3.366, allocations: 0 / 1.102 GB, free: 55.03 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001324/3.367, allocations: 0.7163 MB / 1.103 GB, free: 54.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01628/3.384, allocations: 5.746 MB / 1.109 GB, free: 52.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02048/3.404, allocations: 8.244 MB / 1.117 GB, free: 46.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02546/3.43, allocations: 7.471 MB / 1.124 GB, free: 44.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001905/3.43, allocations: 25.12 kB / 1.124 GB, free: 44.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=1282) (initialization): time 0.05755/3.488, allocations: 16.89 MB / 1.141 GB, free: 37.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/3.488, allocations: 7.438 kB / 1.141 GB, free: 37.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000212/3.488, allocations: 78.81 kB / 1.141 GB, free: 37.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01389/3.502, allocations: 3.939 MB / 1.144 GB, free: 35.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01733/3.519, allocations: 1.884 MB / 1.146 GB, free: 34.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02342/3.543, allocations: 13.25 MB / 1.159 GB, free: 21.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/3.553, allocations: 261.2 kB / 1.16 GB, free: 21.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003439/3.557, allocations: 430.7 kB / 1.16 GB, free: 21.28 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.strayReluctance.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real smpmQS.stator.electroMagneticConverter.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real smpmQS.stator.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real smpmQS.stator.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real 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] resistorQS.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary 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[1].i.re:VARIABLE(unit = "A" ) "Real 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[3].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] 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] smpmQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" 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[2].i.re:VARIABLE(unit = "A" ) "Real 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[3].i.im:VARIABLE(unit = "A" ) "Imaginary 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[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,22 111,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.006109/3.563, allocations: 383.5 kB / 1.16 GB, free: 21.08 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003728/3.567, allocations: 0.5979 MB / 1.161 GB, free: 20.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05538/3.622, allocations: 15.99 MB / 1.176 GB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003492/3.623, allocations: 202.2 kB / 1.177 GB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.628e-05/3.623, allocations: 8.875 kB / 1.177 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002303/3.623, allocations: 43.55 kB / 1.177 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3644/3.987, allocations: 30.99 MB / 1.207 GB, free: 79.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001734/3.988, allocations: 3.656 kB / 1.207 GB, free: 79.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01716/4.005, allocations: 1.244 MB / 1.208 GB, free: 79.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02081/4.026, allocations: 3.98 MB / 1.212 GB, free: 79.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003129/4.029, allocations: 85.23 kB / 1.212 GB, free: 79.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03649/4.066, allocations: 12.51 MB / 1.224 GB, free: 74.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/4.066, allocations: 5.469 kB / 1.224 GB, free: 74.74 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09382/4.159, allocations: 24.48 MB / 1.248 GB, free: 73.44 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008582/4.168, allocations: 1.901 MB / 1.25 GB, free: 73.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004101/4.172, allocations: 3.188 kB / 1.25 GB, free: 73.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009964/4.182, allocations: 230.6 kB / 1.25 GB, free: 73.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003417/4.186, allocations: 0.5952 MB / 1.251 GB, free: 73.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002323/4.188, allocations: 241 kB / 1.251 GB, free: 73.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.007506/4.196, allocations: 2.43 MB / 1.254 GB, free: 73.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01524/4.211, allocations: 2.013 MB / 1.256 GB, free: 73.16 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.003318/4.214, allocations: 0.5703 MB / 1.256 GB, free: 73.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04045/4.255, allocations: 14.37 MB / 1.27 GB, free: 68.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/4.255, allocations: 2 kB / 1.27 GB, free: 68.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02337/4.278, allocations: 7.418 MB / 1.277 GB, free: 65.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01246/4.291, allocations: 0.9903 MB / 1.278 GB, free: 65.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08613/4.377, allocations: 22.89 MB / 1.301 GB, free: 56.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02487/4.402, allocations: 8.42 MB / 1.309 GB, free: 51.17 MB / 458.7 MB Notification: Performance of SimCode: time 2.975e-06/4.402, allocations: 0 / 1.309 GB, free: 51.17 MB / 458.7 MB Notification: Performance of Templates: time 2.346/6.748, allocations: 0.7004 GB / 2.009 GB, free: 75.94 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1468:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp331 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1468:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp331 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1469:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp332 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1469:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp332 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1470:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp333 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1470:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp333 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1483:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp334 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1483:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp334 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1484:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp335 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1484:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp335 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1485:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp336 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1485:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp336 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1518:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp338 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1518:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp338 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1519:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp339 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1519:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp339 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1520:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp340 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1520:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp340 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceInitialize.cpp:1533:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp341 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\n20 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.o] Error 1\n'