Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004405/0.004405, allocations: 170.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03609/0.03609, allocations: 8.798 MB / 24.65 MB, free: 4.086 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 223.2 MB / 250.7 MB, free: 6.562 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008531/0.0008531, allocations: 104.2 kB / 304 MB, free: 3.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 8 kB / 370.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2228, allocations: 52.54 MB / 423 MB, free: 50.03 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3152/0.5381, allocations: 164.4 MB / 0.5736 GB, free: 108.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.5383, allocations: 83.78 kB / 0.5737 GB, free: 108.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.352/2.89, allocations: 0.863 GB / 1.437 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/2.89, allocations: 3.938 kB / 1.437 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.00118/2.891, allocations: 483.4 kB / 1.437 GB, free: 30.79 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.06389/2.955, allocations: 20.65 MB / 1.457 GB, free: 10 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/2.955, allocations: 8.031 kB / 1.457 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05118/3.006, allocations: 9.732 MB / 1.467 GB, free: 232 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.57/3.576, allocations: 16.29 MB / 1.483 GB, free: 24.19 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001353/3.578, allocations: 1.516 MB / 1.484 GB, free: 24.14 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006922/3.585, allocations: 1.993 MB / 1.486 GB, free: 24.14 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07536/3.66, allocations: 34.22 MB / 1.52 GB, free: 21.79 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006522/3.661, allocations: 31.25 kB / 1.52 GB, free: 21.79 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004632/3.665, allocations: 0.8564 MB / 1.52 GB, free: 21.79 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001312/3.667, allocations: 1.483 MB / 1.522 GB, free: 21.74 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0562/3.723, allocations: 30.15 MB / 1.551 GB, free: 21.45 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1699/3.893, allocations: 107.6 MB / 1.656 GB, free: 12.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5973/4.49, allocations: 50.71 MB / 1.706 GB, free: 47.88 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03646/4.527, allocations: 21.59 MB / 1.727 GB, free: 46.98 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.932e-05/4.527, allocations: 131.6 kB / 1.727 GB, free: 46.93 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=906): time 1.188e-05/4.527, allocations: 5.484 kB / 1.727 GB, free: 46.93 MB / 0.5888 GB Notification: Performance of matching and sorting (n=918): time 0.06939/4.596, allocations: 39.72 MB / 1.766 GB, free: 40.54 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/4.596, allocations: 171 kB / 1.766 GB, free: 40.43 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/4.608, allocations: 7.415 MB / 1.773 GB, free: 39.87 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.001997/4.61, allocations: 173.2 kB / 1.773 GB, free: 39.84 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.005347/4.615, allocations: 8.667 MB / 1.782 GB, free: 35.41 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.003303/4.619, allocations: 3.083 MB / 1.785 GB, free: 33.45 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/4.62, allocations: 233.8 kB / 1.785 GB, free: 33.45 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 0.0005787/4.62, allocations: 0.7763 MB / 1.786 GB, free: 33.12 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00873/4.629, allocations: 6.225 MB / 1.792 GB, free: 33.1 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/4.64, allocations: 9.815 MB / 1.802 GB, free: 28.92 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/4.652, allocations: 8.279 MB / 1.81 GB, free: 28.67 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/4.652, allocations: 34.06 kB / 1.81 GB, free: 28.67 MB / 0.5888 GB Notification: Performance of matching and sorting (n=1480) (initialization): time 0.03345/4.686, allocations: 20.19 MB / 1.829 GB, free: 21.27 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002242/4.686, allocations: 56.78 kB / 1.83 GB, free: 21.27 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002231/4.686, allocations: 111.8 kB / 1.83 GB, free: 21.27 MB / 0.5888 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.001938/4.688, allocations: 0.8187 MB / 1.83 GB, free: 21.05 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009307/4.697, allocations: 2.39 MB / 1.833 GB, free: 20.97 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/4.707, allocations: 11.72 MB / 1.844 GB, free: 11.94 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/4.717, allocations: 0.6127 MB / 1.845 GB, free: 11.74 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002678/4.72, allocations: 0.5084 MB / 1.845 GB, free: 11.65 MB / 0.5888 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.01778/4.738, allocations: 7.914 MB / 1.853 GB, free: 7.969 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003159/4.741, allocations: 0.9061 MB / 1.854 GB, free: 7.496 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03008/4.771, allocations: 17.14 MB / 1.871 GB, free: 0.5664 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.226e-05/4.771, allocations: 93.09 kB / 1.871 GB, free: 0.5664 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001057/4.771, allocations: 44.84 kB / 1.871 GB, free: 0.5625 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001582/4.772, allocations: 46.5 kB / 1.871 GB, free: 0.5625 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08708/4.859, allocations: 36.95 MB / 1.907 GB, free: 7.148 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.655e-05/4.859, allocations: 4 kB / 1.907 GB, free: 7.145 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006737/4.865, allocations: 1.438 MB / 1.908 GB, free: 6.031 MB / 0.62 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.002599/4.868, allocations: 0.8481 MB / 1.909 GB, free: 5.348 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001733/4.87, allocations: 208.7 kB / 1.909 GB, free: 5.16 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3236/5.193, allocations: 16.01 MB / 1.925 GB, free: 99.96 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/5.193, allocations: 7.969 kB / 1.925 GB, free: 99.96 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03622/5.23, allocations: 26.11 MB / 1.95 GB, free: 97.34 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006735/5.236, allocations: 2.269 MB / 1.953 GB, free: 97.25 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002017/5.238, allocations: 178.7 kB / 1.953 GB, free: 97.25 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005284/5.244, allocations: 0.5088 MB / 1.953 GB, free: 97.25 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/5.245, allocations: 0.8015 MB / 1.954 GB, free: 97.23 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006902/5.246, allocations: 262.4 kB / 1.954 GB, free: 97.23 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.009342/5.255, allocations: 5.624 MB / 1.96 GB, free: 96.98 MB / 0.62 GB Notification: Performance of sort global known variables: time 4.01e-07/5.255, allocations: 0 / 1.96 GB, free: 96.98 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.01285/5.268, allocations: 3.528 MB / 1.963 GB, free: 96.98 MB / 0.62 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%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/5.27, allocations: 0.7461 MB / 1.964 GB, free: 96.88 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.02164/5.292, allocations: 16.13 MB / 1.98 GB, free: 95.87 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/5.292, allocations: 0 / 1.98 GB, free: 95.87 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.01177/5.304, allocations: 8.814 MB / 1.988 GB, free: 94.86 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/5.315, allocations: 2.339 MB / 1.991 GB, free: 94.83 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07241/5.387, allocations: 46.19 MB / 2.036 GB, free: 77.07 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02243/5.41, allocations: 13.45 MB / 2.049 GB, free: 75.7 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.01389/5.424, allocations: 3.973 MB / 2.053 GB, free: 75.36 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003287/5.427, allocations: 0.6585 MB / 2.053 GB, free: 75.35 MB / 0.62 GB Notification: Performance of SimCode: time 1.032e-06/5.427, allocations: 0 / 2.053 GB, free: 75.35 MB / 0.62 GB Notification: Performance of Templates: time 0.5739/6.001, allocations: 152.2 MB / 2.202 GB, free: 88.68 MB / 0.62 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_InductionMachines_IMC_Transformer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.o HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.c In file included from HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.c:7: In file included from ./HanserModelica_HanserModelica.InductionMachines.IMC_Transformer_model.h:24: ./HanserModelica_HanserModelica.InductionMachines.IMC_Transformer_functions.h:1374:1: error: unknown type name '_omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24i' _omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24i omc__omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.o] Error 1