Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_Transformer,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001058/0.001058, allocations: 199 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.355/1.355, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009124/0.0009124, allocations: 99.27 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002409, allocations: 8 kB / 359.4 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2398, allocations: 51.48 MB / 410.9 MB, free: 26.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4107/0.6506, allocations: 168.2 MB / 0.5655 GB, free: 27.22 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.6509, allocations: 110.7 kB / 0.5656 GB, free: 27.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.215/3.866, allocations: 0.9039 GB / 1.469 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.035e-06/3.866, allocations: 0 / 1.469 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001413/3.867, allocations: 478.8 kB / 1.47 GB, free: 32.54 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.07535/3.943, allocations: 20.72 MB / 1.49 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/3.943, allocations: 7.344 kB / 1.49 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0145/3.957, allocations: 2.983 MB / 1.493 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05997/4.017, allocations: 9.76 MB / 1.503 GB, free: 24.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05527/4.073, allocations: 16.28 MB / 1.518 GB, free: 23.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002536/4.075, allocations: 1.519 MB / 1.52 GB, free: 23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01346/4.089, allocations: 1.996 MB / 1.522 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1064/4.195, allocations: 34.22 MB / 1.555 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008775/4.196, allocations: 28.66 kB / 1.555 GB, free: 20.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007544/4.204, allocations: 0.8535 MB / 1.556 GB, free: 20.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/4.205, allocations: 1.486 MB / 1.558 GB, free: 20.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06961/4.275, allocations: 30.14 MB / 1.587 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6509/4.926, allocations: 108.1 MB / 1.693 GB, free: 19.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04567/4.972, allocations: 50.71 MB / 1.742 GB, free: 17.65 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04605/5.018, allocations: 21.85 MB / 1.764 GB, free: 16 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/5.018, allocations: 138.3 kB / 1.764 GB, free: 15.95 MB / 0.573 GB Notification: Performance of pre-optimization done (n=906): time 1.056e-05/5.018, allocations: 0 / 1.764 GB, free: 15.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=918): time 0.08053/5.098, allocations: 39.87 MB / 1.803 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/5.098, allocations: 168.7 kB / 1.803 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/5.113, allocations: 7.42 MB / 1.81 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.002109/5.115, allocations: 175.8 kB / 1.81 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.007763/5.123, allocations: 8.647 MB / 1.819 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.005142/5.128, allocations: 3.088 MB / 1.822 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001692/5.13, allocations: 234.7 kB / 1.822 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0008614/5.131, allocations: 0.7814 MB / 1.823 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4195/5.55, allocations: 6.409 MB / 1.829 GB, free: 93.24 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01623/5.566, allocations: 9.817 MB / 1.838 GB, free: 89.06 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/5.582, allocations: 8.27 MB / 1.847 GB, free: 88.95 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002588/5.582, allocations: 32.94 kB / 1.847 GB, free: 88.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1480) (initialization): time 0.04079/5.623, allocations: 20.19 MB / 1.866 GB, free: 88.45 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/5.623, allocations: 57.06 kB / 1.866 GB, free: 88.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/5.623, allocations: 116.9 kB / 1.866 GB, free: 88.45 MB / 0.5886 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002/5.625, allocations: 0.8188 MB / 1.867 GB, free: 88.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01067/5.636, allocations: 2.384 MB / 1.87 GB, free: 88.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/5.645, allocations: 11.69 MB / 1.881 GB, free: 81.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/5.656, allocations: 0.6068 MB / 1.882 GB, free: 81.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002469/5.659, allocations: 0.5104 MB / 1.882 GB, free: 81.88 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1226): * Single equations (assignments): 1219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01753/5.676, allocations: 7.911 MB / 1.89 GB, free: 81.76 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00319/5.679, allocations: 0.9145 MB / 1.891 GB, free: 81.76 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03409/5.714, allocations: 17.13 MB / 1.907 GB, free: 80.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.097e-05/5.714, allocations: 97.12 kB / 1.908 GB, free: 80.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001014/5.714, allocations: 40.28 kB / 1.908 GB, free: 80.91 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001795/5.714, allocations: 46.92 kB / 1.908 GB, free: 80.91 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07963/5.794, allocations: 36.12 MB / 1.943 GB, free: 73.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.155e-05/5.794, allocations: 7.125 kB / 1.943 GB, free: 73.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007605/5.801, allocations: 1.436 MB / 1.944 GB, free: 73.94 MB / 0.5886 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.003002/5.804, allocations: 0.8593 MB / 1.945 GB, free: 73.67 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002513/5.807, allocations: 207 kB / 1.945 GB, free: 73.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01478/5.822, allocations: 15.98 MB / 1.961 GB, free: 60.99 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/5.822, allocations: 13.97 kB / 1.961 GB, free: 60.99 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04876/5.871, allocations: 26.08 MB / 1.986 GB, free: 48.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009767/5.88, allocations: 2.276 MB / 1.989 GB, free: 46.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004808/5.885, allocations: 183.1 kB / 1.989 GB, free: 46.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009843/5.895, allocations: 0.5103 MB / 1.989 GB, free: 45.64 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004002/5.899, allocations: 0.7959 MB / 1.99 GB, free: 45.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002157/5.901, allocations: 257.1 kB / 1.99 GB, free: 44.94 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01431/5.916, allocations: 5.629 MB / 1.996 GB, free: 40.29 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.453e-06/5.916, allocations: 0 / 1.996 GB, free: 40.29 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02299/5.939, allocations: 3.539 MB / 1.999 GB, free: 36.77 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (715): * Single equations (assignments): 707 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04219/5.981, allocations: 28.28 MB / 2.027 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.412/6.393, allocations: 16.35 MB / 2.043 GB, free: 87.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/6.393, allocations: 1.469 kB / 2.043 GB, free: 87.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01753/6.411, allocations: 8.8 MB / 2.051 GB, free: 86.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01478/6.425, allocations: 2.351 MB / 2.054 GB, free: 86.57 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2883/6.714, allocations: 203 MB / 2.252 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03391/6.748, allocations: 13.46 MB / 2.265 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01745/6.765, allocations: 3.978 MB / 2.269 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4406/7.206, allocations: 7.766 MB / 2.277 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.954e-06/7.206, allocations: 1.844 kB / 2.277 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.27/8.476, allocations: 282.9 MB / 2.553 GB, free: 98.35 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/8.476, allocations: 266.3 kB / 2.553 GB, free: 97.99 MB / 0.6355 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_Transformer.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_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_Transformer.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_model.h:24: ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_functions.h:1375: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); ^ 2 warnings and 1 error generated. make: *** [: Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.o] Error 1