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/ModelicaServices 4.0.0+maint.om/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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009175/0.0009177, allocations: 101.3 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 239.7 MB, free: 5.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 188.5 kB / 290.9 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03356/0.03356, allocations: 8.784 MB / 350.8 MB, free: 4.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004161, allocations: 9.438 kB / 417.1 MB, free: 41.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 52.56 MB / 469.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.04731/0.1739, allocations: 43.28 MB / 0.501 GB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03198/0.2059, allocations: 12.01 MB / 0.5127 GB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01466/0.2206, allocations: 342.9 kB / 0.513 GB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01307/0.2338, allocations: 2.431 MB / 0.5154 GB, free: 4 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02151/0.2553, allocations: 4.542 MB / 0.5198 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.2665, allocations: 2.201 MB / 0.522 GB, free: 9.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3661/0.6327, allocations: 26.27 MB / 0.5476 GB, free: 10.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08705/0.7197, allocations: 36.53 MB / 0.5833 GB, free: 3.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02388/0.7437, allocations: 8.99 MB / 0.5921 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0249/0.7686, allocations: 10.25 MB / 0.6021 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00958/0.7782, allocations: 1.41 MB / 0.6035 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01676/0.795, allocations: 1.839 MB / 0.6053 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01535/0.8104, allocations: 4.562 MB / 0.6097 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01736/0.8278, allocations: 4.607 MB / 0.6142 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06256/0.8904, allocations: 41.17 MB / 0.6544 GB, free: 6.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.8906, allocations: 0 / 0.6544 GB, free: 6.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.641e-06/0.8906, allocations: 0 / 0.6544 GB, free: 6.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.002487/0.8931, allocations: 0 / 0.6544 GB, free: 6.738 MB / 430.1 MB 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.08767/0.9808, allocations: 23.11 MB / 0.677 GB, free: 15.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.9808, allocations: 12.56 kB / 0.677 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07632/1.057, allocations: 13.96 MB / 0.6906 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04066/1.098, allocations: 14.36 MB / 0.7046 GB, free: 3.734 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002254/1.1, allocations: 1.578 MB / 0.7062 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01116/1.111, allocations: 2.081 MB / 0.7082 GB, free: 116 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7318/1.843, allocations: 34.56 MB / 0.742 GB, free: 103.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001255/1.845, allocations: 25.66 kB / 0.742 GB, free: 103.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01034/1.855, allocations: 0.8543 MB / 0.7428 GB, free: 102.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001726/1.857, allocations: 1.156 MB / 0.744 GB, free: 102.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08256/1.939, allocations: 32.18 MB / 0.7754 GB, free: 84.12 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2212/2.161, allocations: 107.9 MB / 0.8808 GB, free: 7.477 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6377/2.798, allocations: 50.77 MB / 0.9304 GB, free: 110.6 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02275/2.821, allocations: 9.79 MB / 0.9399 GB, free: 110.4 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05875/2.88, allocations: 22.65 MB / 0.962 GB, free: 102.3 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/2.88, allocations: 140.8 kB / 0.9622 GB, free: 102.2 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=894): time 1.284e-05/2.88, allocations: 0 / 0.9622 GB, free: 102.2 MB / 0.5139 GB Notification: Performance of matching and sorting (n=906): time 0.09465/2.975, allocations: 39.49 MB / 1.001 GB, free: 83.59 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/2.975, allocations: 174.8 kB / 1.001 GB, free: 83.49 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01581/2.991, allocations: 8.285 MB / 1.009 GB, free: 80.46 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.002093/2.993, allocations: 174.8 kB / 1.009 GB, free: 80.32 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00817/3.001, allocations: 8.686 MB / 1.018 GB, free: 73.82 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.004531/3.006, allocations: 3.049 MB / 1.021 GB, free: 71.47 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/3.007, allocations: 228.2 kB / 1.021 GB, free: 71.29 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000719/3.008, allocations: 0.7766 MB / 1.022 GB, free: 70.78 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01167/3.02, allocations: 6.217 MB / 1.028 GB, free: 67.8 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01539/3.035, allocations: 9.94 MB / 1.037 GB, free: 56.29 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/3.049, allocations: 8.276 MB / 1.045 GB, free: 47.98 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001707/3.05, allocations: 32 kB / 1.045 GB, free: 47.95 MB / 0.5139 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.04888/3.099, allocations: 20.24 MB / 1.065 GB, free: 27.59 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/3.099, allocations: 56.06 kB / 1.065 GB, free: 27.53 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002511/3.099, allocations: 116 kB / 1.065 GB, free: 27.42 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01677/3.116, allocations: 4.349 MB / 1.07 GB, free: 23.07 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/3.126, allocations: 2.406 MB / 1.072 GB, free: 20.66 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3588/3.485, allocations: 38.07 MB / 1.109 GB, free: 135 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/3.496, allocations: 0.6093 MB / 1.11 GB, free: 135 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003032/3.499, allocations: 0.5155 MB / 1.11 GB, free: 135 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (1230): * Single equations (assignments): 1223 * 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: 6 * 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: 6 {(3,77.8%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(30,24.9%) 174} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0194/3.519, allocations: 7.911 MB / 1.118 GB, free: 134.9 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003113/3.522, allocations: 0.9102 MB / 1.119 GB, free: 134.9 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04219/3.564, allocations: 17.03 MB / 1.136 GB, free: 132.7 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001099/3.564, allocations: 92 kB / 1.136 GB, free: 132.7 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001607/3.564, allocations: 40.88 kB / 1.136 GB, free: 132.7 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002963/3.564, allocations: 45.66 kB / 1.136 GB, free: 132.7 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08223/3.647, allocations: 35.91 MB / 1.171 GB, free: 118.3 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.494e-05/3.647, allocations: 8.375 kB / 1.171 GB, free: 118.3 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007658/3.655, allocations: 1.431 MB / 1.172 GB, free: 118.2 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01351/3.668, allocations: 4.335 MB / 1.176 GB, free: 117.3 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002223/3.67, allocations: 200.2 kB / 1.177 GB, free: 117.2 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04789/3.718, allocations: 39.83 MB / 1.216 GB, free: 90.55 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/3.718, allocations: 12.09 kB / 1.216 GB, free: 90.54 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03974/3.758, allocations: 24.71 MB / 1.24 GB, free: 66.12 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007628/3.766, allocations: 2.246 MB / 1.242 GB, free: 64.33 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003215/3.769, allocations: 180 kB / 1.242 GB, free: 64.16 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007056/3.776, allocations: 0.5046 MB / 1.243 GB, free: 63.65 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002477/3.779, allocations: 0.7076 MB / 1.243 GB, free: 62.94 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001205/3.78, allocations: 260 kB / 1.243 GB, free: 62.69 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.01501/3.795, allocations: 5.618 MB / 1.249 GB, free: 57.08 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.193e-06/3.795, allocations: 0 / 1.249 GB, free: 57.08 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.02247/3.817, allocations: 3.796 MB / 1.253 GB, free: 53.29 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,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,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(30,25.9%) 174,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003175/3.821, allocations: 445 kB / 1.253 GB, free: 52.88 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0304/3.851, allocations: 17.14 MB / 1.27 GB, free: 35.62 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/3.851, allocations: 0.9375 kB / 1.27 GB, free: 35.62 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.01717/3.868, allocations: 9.87 MB / 1.279 GB, free: 25.64 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01997/3.888, allocations: 2.452 MB / 1.282 GB, free: 23.22 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4695/4.358, allocations: 45.15 MB / 1.326 GB, free: 139.7 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03432/4.392, allocations: 12.81 MB / 1.338 GB, free: 138.6 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004706/4.397, allocations: 0.7487 MB / 1.339 GB, free: 138.6 MB / 0.5452 GB Notification: Performance of SimCode: time 1.664e-06/4.397, allocations: 2.844 kB / 1.339 GB, free: 138.6 MB / 0.5452 GB Notification: Performance of Templates: time 3.306/7.703, allocations: 1.127 GB / 2.466 GB, free: 88.66 MB / 0.5764 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHanserModelica_HanserModelica.InductionMachines.IMC_TransformerCalcHelperMain.o OMCppHanserModelica_HanserModelica.InductionMachines.IMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.InductionMachines.IMC_TransformerCalcHelperMain.o] Error 1