Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.AIMC_DOL.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AIMC_DOL,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.037/1.037, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.528e-05, allocations: 0 / 148.2 MB, free: 6.129 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05875/0.05883, allocations: 25.19 MB / 173.4 MB, free: 12.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2954/0.3543, allocations: 44.88 MB / 218.3 MB, free: 3.676 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.3547, allocations: 65.23 kB / 218.3 MB, free: 3.668 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1366/0.4914, allocations: 28.16 MB / 246.5 MB, free: 2.512 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.4915, allocations: 0 / 246.5 MB, free: 2.512 MB / 186.7 MB Notification: Performance of Transformations before backend: time 0.0002299/0.4917, allocations: 47.94 kB / 246.5 MB, free: 2.465 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 390 * Number of variables: 390 Notification: Performance of Generate backend data structure: time 0.007293/0.499, allocations: 1.734 MB / 248.3 MB, free: 0.7852 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.4991, allocations: 12.03 kB / 248.3 MB, free: 0.7734 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.5002, allocations: 185.8 kB / 248.5 MB, free: 0.5898 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/0.5043, allocations: 1.117 MB / 249.6 MB, free: 15.52 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.5045, allocations: 56 kB / 249.6 MB, free: 15.46 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007718/0.5053, allocations: 91.86 kB / 249.7 MB, free: 15.37 MB / 202.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005884/0.5112, allocations: 1.677 MB / 251.4 MB, free: 13.69 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007175/0.5184, allocations: 1.866 MB / 253.3 MB, free: 11.75 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.5186, allocations: 7.984 kB / 253.3 MB, free: 11.74 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004046/0.519, allocations: 4 kB / 253.3 MB, free: 11.73 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.5191, allocations: 59.05 kB / 253.3 MB, free: 11.68 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/0.5378, allocations: 5.707 MB / 259.1 MB, free: 5.859 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004133/0.542, allocations: 1.937 MB / 261 MB, free: 3.75 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.5442, allocations: 0.7326 MB / 261.7 MB, free: 3.016 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.5444, allocations: 20.72 kB / 261.7 MB, free: 2.992 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.5444, allocations: 43.34 kB / 261.8 MB, free: 2.941 MB / 202.7 MB Notification: Performance of pre-optimization done (n=94): time 7.043e-06/0.5445, allocations: 0 / 261.8 MB, free: 2.941 MB / 202.7 MB Notification: Performance of matching and sorting (n=114): time 0.01666/0.5611, allocations: 4.601 MB / 266.4 MB, free: 14.27 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.5612, allocations: 72.66 kB / 266.5 MB, free: 14.19 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1719:9-1721:75:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1716:9-1718:75:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1713:9-1715:75:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7411:7-7413:73:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7408:7-7410:73:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7406:7-7407:28:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7405:7-7405:75:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter aimc.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=aimc.Jr) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.5634, allocations: 0.7882 MB / 267.2 MB, free: 13.39 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003131/0.5637, allocations: 25.7 kB / 267.3 MB, free: 13.36 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006582/0.5644, allocations: 0.654 MB / 267.9 MB, free: 12.7 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006776/0.5651, allocations: 366.4 kB / 268.3 MB, free: 12.34 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5652, allocations: 0 / 268.3 MB, free: 12.34 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.5654, allocations: 354.8 kB / 268.6 MB, free: 11.98 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.5671, allocations: 0.6468 MB / 269.3 MB, free: 11.34 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.569, allocations: 0.738 MB / 270 MB, free: 10.58 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.571, allocations: 0.7531 MB / 270.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.5711, allocations: 4 kB / 270.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006503/0.5776, allocations: 2.081 MB / 272.9 MB, free: 7.723 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.5777, allocations: 8 kB / 272.9 MB, free: 7.715 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5777, allocations: 0 / 272.9 MB, free: 7.715 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003081/0.5808, allocations: 0.653 MB / 273.5 MB, free: 7.051 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.5827, allocations: 207.7 kB / 273.7 MB, free: 6.848 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/0.5982, allocations: 7.838 MB / 281.6 MB, free: 14.66 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.5997, allocations: 55.91 kB / 281.6 MB, free: 14.61 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.6, allocations: 32 kB / 281.6 MB, free: 14.58 MB / 234.7 MB Warning: Assuming fixed start value for the following 7 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real loadInertia.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.i_0_s:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(4,87.5%) 23,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004821/0.6005, allocations: 142 kB / 281.8 MB, free: 14.44 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006514/0.607, allocations: 2.029 MB / 283.8 MB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005648/0.6076, allocations: 110.6 kB / 283.9 MB, free: 12.28 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006767/0.6144, allocations: 2.147 MB / 286.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.476e-05/0.6145, allocations: 15.95 kB / 286.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/0.6146, allocations: 4 kB / 286.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.46e-05/0.6146, allocations: 7.969 kB / 286.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.6276, allocations: 3.996 MB / 290.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/0.6276, allocations: 3.938 kB / 290.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/0.6294, allocations: 183.8 kB / 290.3 MB, free: 5.828 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00343/0.6329, allocations: 0.6788 MB / 290.9 MB, free: 5.137 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002876/0.6332, allocations: 11.98 kB / 291 MB, free: 5.125 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1732/0.8064, allocations: 7.688 MB / 298.6 MB, free: 60.48 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.8065, allocations: 0 / 298.6 MB, free: 60.48 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00788/0.8144, allocations: 3.187 MB / 301.8 MB, free: 60.25 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.8157, allocations: 351.2 kB / 302.2 MB, free: 60.16 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003756/0.8161, allocations: 8.062 kB / 302.2 MB, free: 60.16 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.8175, allocations: 64.02 kB / 302.2 MB, free: 60.16 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005048/0.8181, allocations: 95.09 kB / 302.3 MB, free: 60.16 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.8182, allocations: 30.73 kB / 302.4 MB, free: 60.16 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001339/0.8196, allocations: 0.5862 MB / 303 MB, free: 60.07 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.8196, allocations: 0 / 303 MB, free: 60.07 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002356/0.822, allocations: 338.2 kB / 303.3 MB, free: 60.07 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(4,87.5%) 23,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008425/0.8305, allocations: 3.894 MB / 307.2 MB, free: 59.14 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.005395/0.8359, allocations: 2.215 MB / 309.4 MB, free: 58.7 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.836, allocations: 0 / 309.4 MB, free: 58.7 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003823/0.8398, allocations: 1.482 MB / 310.9 MB, free: 58.26 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.8424, allocations: 224.4 kB / 311.1 MB, free: 58.25 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009908/0.8524, allocations: 3.549 MB / 314.6 MB, free: 57.52 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/0.8545, allocations: 1.634 MB / 316.3 MB, free: 56.8 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/0.8561, allocations: 0.5399 MB / 316.8 MB, free: 56.62 MB / 234.7 MB Notification: Performance of SimCode: time 1.663e-06/0.8562, allocations: 0 / 316.8 MB, free: 56.62 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.697/4.553, allocations: 57.31 MB / 374.1 MB, free: 13.42 MB / 234.7 MB