Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 198.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009585/0.0009584, allocations: 102.8 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002175/0.0002176, allocations: 4 kB / 358 MB, free: 9.191 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2301, allocations: 51.5 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/0.5678, allocations: 128 MB / 0.5249 GB, free: 47.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5681, allocations: 108.7 kB / 0.525 GB, free: 47.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096/1.664, allocations: 355.2 MB / 0.8719 GB, free: 52.58 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.619e-06/1.664, allocations: 3.469 kB / 0.8719 GB, free: 52.58 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000822/1.665, allocations: 210.6 kB / 0.8721 GB, free: 52.56 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03203/1.697, allocations: 9.446 MB / 0.8813 GB, free: 49.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.697, allocations: 11.59 kB / 0.8813 GB, free: 49.7 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005852/1.703, allocations: 1.552 MB / 0.8828 GB, free: 49.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0244/1.728, allocations: 4.238 MB / 0.887 GB, free: 49.06 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02217/1.75, allocations: 8.073 MB / 0.8948 GB, free: 48.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007097/1.751, allocations: 0.6661 MB / 0.8955 GB, free: 48.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004339/1.755, allocations: 0.8896 MB / 0.8964 GB, free: 48.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03638/1.791, allocations: 15.59 MB / 0.9116 GB, free: 47 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003716/1.792, allocations: 7.875 kB / 0.9116 GB, free: 46.99 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002864/1.795, allocations: 391.7 kB / 0.912 GB, free: 46.99 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007202/1.795, allocations: 0.7298 MB / 0.9127 GB, free: 46.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02839/1.824, allocations: 13.76 MB / 0.9261 GB, free: 46.88 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08003/1.904, allocations: 52.4 MB / 0.9773 GB, free: 20.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02289/1.927, allocations: 26.42 MB / 1.003 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000727/1.928, allocations: 246.8 kB / 1.003 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.278e-05/1.928, allocations: 74.86 kB / 1.003 GB, free: 12.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=404): time 7.815e-06/1.928, allocations: 0 / 1.003 GB, free: 12.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=410): time 0.04558/1.973, allocations: 18.26 MB / 1.021 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/1.973, allocations: 94.59 kB / 1.021 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/1.979, allocations: 3.252 MB / 1.024 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007753/1.98, allocations: 93.7 kB / 1.025 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002689/1.982, allocations: 3.989 MB / 1.028 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001547/1.984, allocations: 1.391 MB / 1.03 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/1.984, allocations: 120 kB / 1.03 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003523/1.985, allocations: 0.5367 MB / 1.03 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004222/1.989, allocations: 2.82 MB / 1.033 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.296/2.285, allocations: 4.958 MB / 1.038 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007444/2.292, allocations: 3.973 MB / 1.042 GB, free: 78.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.815e-05/2.292, allocations: 20.59 kB / 1.042 GB, free: 78.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01583/2.308, allocations: 9.123 MB / 1.051 GB, free: 77.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/2.308, allocations: 35.84 kB / 1.051 GB, free: 77.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/2.309, allocations: 70.66 kB / 1.051 GB, free: 77.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/2.312, allocations: 1.225 MB / 1.052 GB, free: 77.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004988/2.317, allocations: 1.321 MB / 1.053 GB, free: 77.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/2.329, allocations: 9.394 MB / 1.063 GB, free: 76.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005447/2.335, allocations: 342.4 kB / 1.063 GB, free: 76.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/2.336, allocations: 281.7 kB / 1.063 GB, free: 76.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007938/2.344, allocations: 3.714 MB / 1.067 GB, free: 76.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/2.345, allocations: 407.4 kB / 1.067 GB, free: 76.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/2.357, allocations: 6.739 MB / 1.074 GB, free: 76.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008089/2.365, allocations: 5.624 MB / 1.079 GB, free: 76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/2.366, allocations: 9.5 kB / 1.079 GB, free: 76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/2.366, allocations: 21.11 kB / 1.079 GB, free: 76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02902/2.395, allocations: 16.4 MB / 1.095 GB, free: 74.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/2.395, allocations: 3.938 kB / 1.095 GB, free: 74.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00274/2.397, allocations: 0.7209 MB / 1.096 GB, free: 74.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/2.4, allocations: 1.077 MB / 1.097 GB, free: 74.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004062/2.401, allocations: 91.88 kB / 1.097 GB, free: 74.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/2.412, allocations: 8.34 MB / 1.105 GB, free: 73.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/2.412, allocations: 7.172 kB / 1.105 GB, free: 73.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/2.427, allocations: 10.41 MB / 1.116 GB, free: 68.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/2.43, allocations: 0.971 MB / 1.116 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008654/2.43, allocations: 84.61 kB / 1.117 GB, free: 67.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/2.433, allocations: 214 kB / 1.117 GB, free: 67.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006145/2.433, allocations: 283.7 kB / 1.117 GB, free: 67.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/2.434, allocations: 119.5 kB / 1.117 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005311/2.439, allocations: 2.439 MB / 1.12 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.1e-07/2.439, allocations: 0 / 1.12 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007891/2.447, allocations: 1.66 MB / 1.121 GB, free: 66.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01546/2.462, allocations: 12.47 MB / 1.133 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01234/2.475, allocations: 7.167 MB / 1.14 GB, free: 57.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/2.475, allocations: 5.75 kB / 1.14 GB, free: 57.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005988/2.481, allocations: 3.422 MB / 1.144 GB, free: 56.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/2.486, allocations: 0.8657 MB / 1.145 GB, free: 55.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3947/2.88, allocations: 94.96 MB / 1.237 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00715/2.888, allocations: 6.349 MB / 1.243 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005605/2.893, allocations: 1.909 MB / 1.245 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005676/2.899, allocations: 3.211 MB / 1.248 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/2.899, allocations: 0 / 1.248 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/3.069, allocations: 126.6 MB / 1.372 GB, free: 34.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/3.07, allocations: 262.7 kB / 1.372 GB, free: 33.68 MB / 0.5105 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_model.h:24: ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_functions.h:1026:1: error: unknown type name '_omcQComplexOutput_24iSensorQS_24currentSensor_24i' _omcQComplexOutput_24iSensorQS_24currentSensor_24i omc__omcQComplexOutput_24iSensorQS_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_functions.h:1035:1: error: unknown type name '_omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower' _omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower omc__omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 2 errors generated. make: *** [: Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.o] Error 1