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.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002105/0.002105, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 93.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.086e-05/2.097e-05, allocations: 0 / 314.9 MB, free: 9.039 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3493, allocations: 47.57 MB / 362.5 MB, free: 45.89 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5605/0.9098, allocations: 166.5 MB / 0.5166 GB, free: 82.78 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/0.9103, allocations: 104 kB / 0.5167 GB, free: 82.78 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.216/6.126, allocations: 0.8487 GB / 1.365 GB, free: 14.34 MB / 491.2 MB Notification: Performance of FrontEnd: time 3.587e-06/6.126, allocations: 0 / 1.365 GB, free: 14.34 MB / 491.2 MB Notification: Performance of Transformations before backend: time 0.002278/6.128, allocations: 479.2 kB / 1.366 GB, free: 14.34 MB / 491.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.103/6.231, allocations: 19.56 MB / 1.385 GB, free: 11.44 MB / 491.2 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/6.232, allocations: 9.594 kB / 1.385 GB, free: 11.44 MB / 491.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08846/6.32, allocations: 10.31 MB / 1.395 GB, free: 10.28 MB / 491.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06122/6.381, allocations: 15.82 MB / 1.41 GB, free: 8.496 MB / 491.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002152/6.383, allocations: 0.6774 MB / 1.411 GB, free: 8.496 MB / 491.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01146/6.395, allocations: 1.189 MB / 1.412 GB, free: 8.484 MB / 491.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09001/6.485, allocations: 28.88 MB / 1.44 GB, free: 8.395 MB / 491.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1175/6.603, allocations: 32.14 MB / 1.472 GB, free: 22.06 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001256/6.604, allocations: 39.36 kB / 1.472 GB, free: 22.05 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009285/6.613, allocations: 13.31 kB / 1.472 GB, free: 22.05 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002318/6.616, allocations: 1.391 MB / 1.473 GB, free: 22 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8485/7.464, allocations: 111.4 MB / 1.582 GB, free: 50.31 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06707/7.531, allocations: 43.01 MB / 1.624 GB, free: 30.8 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04036/7.572, allocations: 16.18 MB / 1.64 GB, free: 30.65 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1564/7.728, allocations: 51.01 MB / 1.69 GB, free: 23.51 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/7.728, allocations: 179.7 kB / 1.69 GB, free: 23.37 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=1576): time 2.226e-05/7.728, allocations: 0 / 1.69 GB, free: 23.37 MB / 0.5265 GB Notification: Performance of matching and sorting (n=1588): time 0.2342/7.963, allocations: 64.44 MB / 1.753 GB, free: 9.785 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/7.963, allocations: 221.5 kB / 1.753 GB, free: 9.551 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0159/7.979, allocations: 4.852 MB / 1.758 GB, free: 5.262 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.003939/7.983, allocations: 25.7 kB / 1.758 GB, free: 5.23 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.5112/8.494, allocations: 7.007 MB / 1.765 GB, free: 73.02 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.009465/8.504, allocations: 5.01 MB / 1.769 GB, free: 70.78 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004406/8.508, allocations: 0 / 1.769 GB, free: 70.78 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.002048/8.51, allocations: 0.9086 MB / 1.77 GB, free: 70.43 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02671/8.537, allocations: 10.23 MB / 1.78 GB, free: 70.4 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03175/8.569, allocations: 12.36 MB / 1.792 GB, free: 68.46 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04389/8.613, allocations: 14.38 MB / 1.806 GB, free: 68.31 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002214/8.613, allocations: 14.75 kB / 1.806 GB, free: 68.31 MB / 0.5421 GB Notification: Performance of matching and sorting (n=1865) (initialization): time 0.1035/8.716, allocations: 32.46 MB / 1.838 GB, free: 67.45 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 9.713e-05/8.717, allocations: 30.31 kB / 1.838 GB, free: 67.45 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002127/8.717, allocations: 54.14 kB / 1.838 GB, free: 67.45 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04719/8.764, allocations: 14.48 MB / 1.852 GB, free: 66.93 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01858/8.783, allocations: 2.158 MB / 1.855 GB, free: 66.93 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07481/8.857, allocations: 36.26 MB / 1.89 GB, free: 51.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01722/8.875, allocations: 464 kB / 1.89 GB, free: 51.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005208/8.88, allocations: 0.5246 MB / 1.891 GB, free: 51.18 MB / 0.5421 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformerQS.star1.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.star1.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.star1.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.star1.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.core.v1[1].im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real [3] transformerQS.core.v1[1].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r2.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r2.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.r2.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.r2.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r2.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r2.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l2sigma.inductor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.l2sigma.inductor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l2sigma.inductor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.l2sigma.inductor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l2sigma.inductor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.l2sigma.inductor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l1sigma.inductor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l1sigma.inductor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r1.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.r1.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r1.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.r1.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r1.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r1.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l1sigma.inductor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.l1sigma.inductor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l1sigma.inductor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l1sigma.inductor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[3].s2.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] idealCommutingSwitchQS.idealCommutingSwitch[1].s2.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] idealCommutingSwitchQS.idealCommutingSwitch[2].s2.re:VARIABLE(unit = "1" protected = true ) "Real 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] terminalBoxQS.delta.plugToPins_n.pin_n[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.delta.plugToPins_n.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.delta.plugToPins_n.pin_n[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.delta.plugToPins_n.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.delta.plugToPins_n.pin_n[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.delta.plugToPins_n.pin_n[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].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: transformerQS.star2.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.star2.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.star2.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.star2.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.star2.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.star2.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: iSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[3].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.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[2].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1018 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.009611/8.89, allocations: 0.603 MB / 1.891 GB, free: 50.99 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09381/8.984, allocations: 31.06 MB / 1.922 GB, free: 33.09 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007246/8.991, allocations: 0.94 MB / 1.923 GB, free: 32.15 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1523/9.143, allocations: 33.32 MB / 1.955 GB, free: 4.238 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009391/9.144, allocations: 387.1 kB / 1.956 GB, free: 3.902 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001229/9.144, allocations: 16 kB / 1.956 GB, free: 3.887 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005085/9.145, allocations: 67.83 kB / 1.956 GB, free: 3.887 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.816/9.961, allocations: 59.77 MB / 2.014 GB, free: 67.95 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002679/9.961, allocations: 8.531 kB / 2.014 GB, free: 67.95 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0159/9.977, allocations: 1.704 MB / 2.016 GB, free: 67.95 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04993/10.03, allocations: 14.55 MB / 2.03 GB, free: 67.41 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004348/10.03, allocations: 164.1 kB / 2.03 GB, free: 67.41 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08037/10.11, allocations: 40.35 MB / 2.069 GB, free: 55.16 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/10.11, allocations: 7.531 kB / 2.069 GB, free: 55.16 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1359/10.25, allocations: 49.1 MB / 2.117 GB, free: 30.85 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01437/10.26, allocations: 3.468 MB / 2.121 GB, free: 28.26 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006609/10.27, allocations: 27.05 kB / 2.121 GB, free: 28.23 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01556/10.28, allocations: 494.7 kB / 2.121 GB, free: 27.96 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006444/10.29, allocations: 1.162 MB / 2.122 GB, free: 27.22 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004516/10.3, allocations: 422.2 kB / 2.123 GB, free: 26.85 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.01035/10.31, allocations: 3.624 MB / 2.126 GB, free: 23.65 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.202e-06/10.31, allocations: 2.188 kB / 2.126 GB, free: 23.65 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.02471/10.33, allocations: 3.421 MB / 2.13 GB, free: 20.24 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (820): * Single equations (assignments): 779 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.7159/11.05, allocations: 52.53 MB / 2.181 GB, free: 83.01 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.1058/11.15, allocations: 26.03 MB / 2.206 GB, free: 81.98 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/11.15, allocations: 4.156 kB / 2.206 GB, free: 81.98 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.04533/11.2, allocations: 14.9 MB / 2.221 GB, free: 80.85 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01983/11.22, allocations: 1.681 MB / 2.223 GB, free: 80.83 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1592/11.38, allocations: 45.59 MB / 2.267 GB, free: 74.59 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03446/11.41, allocations: 13.47 MB / 2.28 GB, free: 73.28 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02437/11.44, allocations: 7.981 MB / 2.288 GB, free: 68.13 MB / 0.5578 GB Notification: Performance of SimCode: time 1.853e-06/11.44, allocations: 0 / 2.288 GB, free: 68.13 MB / 0.5578 GB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerCalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerFunctions.cpp:587:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp376 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerFunctions.cpp:587:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp376 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerCalcHelperMain.o] Error 1