Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.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) Running command: translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 102.8 kB / 15.71 MB, free: 460 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.546/1.546, allocations: 223.3 MB / 239.7 MB, free: 5.48 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.001086/0.001086, allocations: 172.5 kB / 290.9 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03397/0.03397, allocations: 8.785 MB / 350.8 MB, free: 4.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 12.33 kB / 413.8 MB, free: 42.97 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 52.55 MB / 466.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.03737/0.1555, allocations: 33.51 MB / 499.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02556/0.1812, allocations: 9.294 MB / 0.4972 GB, free: 2.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00875/0.19, allocations: 271.1 kB / 0.4975 GB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009379/0.1994, allocations: 1.876 MB / 0.4993 GB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01758/0.217, allocations: 3.351 MB / 0.5026 GB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007872/0.2249, allocations: 1.573 MB / 0.5041 GB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02898/0.2539, allocations: 18.77 MB / 0.5225 GB, free: 8.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5801/0.834, allocations: 24.63 MB / 0.5465 GB, free: 7.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01741/0.8515, allocations: 6.09 MB / 0.5525 GB, free: 7.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01563/0.8672, allocations: 6.899 MB / 0.5592 GB, free: 7.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005845/0.873, allocations: 0.9362 MB / 0.5601 GB, free: 7.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009929/0.883, allocations: 1.301 MB / 0.5614 GB, free: 7.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00814/0.8912, allocations: 2.983 MB / 0.5643 GB, free: 7.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01194/0.9031, allocations: 3.08 MB / 0.5673 GB, free: 7.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03765/0.9408, allocations: 27.05 MB / 0.5937 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.9409, allocations: 0 / 0.5937 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.9409, allocations: 2.625 kB / 0.5937 GB, free: 7.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001212/0.9421, allocations: 0 / 0.5937 GB, free: 7.18 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.05781/1, allocations: 15.75 MB / 0.6091 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.609e-05/1, allocations: 12.55 kB / 0.6091 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04733/1.047, allocations: 8.277 MB / 0.6172 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02978/1.077, allocations: 9.765 MB / 0.6267 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002072/1.079, allocations: 1.064 MB / 0.6278 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008887/1.088, allocations: 1.397 MB / 0.6291 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08637/1.175, allocations: 22.68 MB / 0.6513 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001059/1.176, allocations: 19.81 kB / 0.6513 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009274/1.185, allocations: 0.5744 MB / 0.6519 GB, free: 5.219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/1.186, allocations: 0.7854 MB / 0.6526 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06257/1.249, allocations: 20.92 MB / 0.6731 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5207/1.77, allocations: 73.11 MB / 0.7445 GB, free: 98.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03146/1.801, allocations: 42.39 MB / 0.7859 GB, free: 62.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008768/1.81, allocations: 5.258 MB / 0.791 GB, free: 59.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02469/1.835, allocations: 12.82 MB / 0.8035 GB, free: 51.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/1.835, allocations: 93.03 kB / 0.8036 GB, free: 51.26 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 5.771e-06/1.835, allocations: 0 / 0.8036 GB, free: 51.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.0714/1.906, allocations: 29.03 MB / 0.832 GB, free: 30.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/1.906, allocations: 129.4 kB / 0.8321 GB, free: 29.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01239/1.919, allocations: 5.724 MB / 0.8377 GB, free: 24.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001418/1.92, allocations: 105.7 kB / 0.8378 GB, free: 24.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004034/1.924, allocations: 6.151 MB / 0.8438 GB, free: 17.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002562/1.927, allocations: 1.752 MB / 0.8455 GB, free: 16.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/1.928, allocations: 152 kB / 0.8456 GB, free: 16.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0006944/1.929, allocations: 0.6083 MB / 0.8462 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006826/1.936, allocations: 3.653 MB / 0.8498 GB, free: 11.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009067/1.945, allocations: 6.494 MB / 0.8561 GB, free: 3.953 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009429/1.954, allocations: 5.041 MB / 0.8611 GB, free: 14.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002132/1.955, allocations: 30.06 kB / 0.8611 GB, free: 14.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.03273/1.987, allocations: 12.13 MB / 0.8729 GB, free: 2.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/1.988, allocations: 44 kB / 0.873 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002563/1.988, allocations: 92 kB / 0.8731 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00558/1.994, allocations: 1.623 MB / 0.8746 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007975/2.002, allocations: 1.669 MB / 0.8763 GB, free: 15.23 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4218/2.423, allocations: 18.23 MB / 0.8941 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008344/2.432, allocations: 428.5 kB / 0.8945 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00225/2.434, allocations: 368.9 kB / 0.8948 GB, free: 142.2 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(12,54.2%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01559/2.45, allocations: 5.19 MB / 0.8999 GB, free: 142 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002146/2.452, allocations: 0.593 MB / 0.9005 GB, free: 142 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02312/2.475, allocations: 9.448 MB / 0.9097 GB, free: 141.5 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01074/2.486, allocations: 5.933 MB / 0.9155 GB, free: 140.7 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/2.486, allocations: 19.72 kB / 0.9155 GB, free: 140.7 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00012/2.486, allocations: 32.97 kB / 0.9155 GB, free: 140.7 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04005/2.526, allocations: 21.14 MB / 0.9362 GB, free: 132 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/2.526, allocations: 5.5 kB / 0.9362 GB, free: 132 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003352/2.529, allocations: 0.8644 MB / 0.937 GB, free: 131.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004275/2.534, allocations: 1.636 MB / 0.9386 GB, free: 131.5 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006057/2.534, allocations: 127.8 kB / 0.9388 GB, free: 131.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02292/2.557, allocations: 21.36 MB / 0.9596 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/2.557, allocations: 11.5 kB / 0.9596 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02146/2.579, allocations: 13.83 MB / 0.9731 GB, free: 105.9 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0047/2.584, allocations: 1.369 MB / 0.9745 GB, free: 104.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00186/2.586, allocations: 111.9 kB / 0.9746 GB, free: 104.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003825/2.589, allocations: 297.2 kB / 0.9749 GB, free: 104.4 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009647/2.59, allocations: 413.1 kB / 0.9753 GB, free: 104 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003353/2.591, allocations: 156 kB / 0.9754 GB, free: 103.8 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00754/2.598, allocations: 3.838 MB / 0.9791 GB, free: 100 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.41e-07/2.598, allocations: 0 / 0.9791 GB, free: 100 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01298/2.611, allocations: 2.344 MB / 0.9814 GB, free: 97.68 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (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,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 430 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001652/2.613, allocations: 318 kB / 0.9817 GB, free: 97.39 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02145/2.634, allocations: 9.923 MB / 0.9914 GB, free: 87.38 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.989e-05/2.634, allocations: 0 / 0.9914 GB, free: 87.38 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.01048/2.645, allocations: 5.483 MB / 0.9968 GB, free: 81.82 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01242/2.657, allocations: 1.581 MB / 0.9983 GB, free: 80.27 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0666/2.724, allocations: 29.33 MB / 1.027 GB, free: 50.82 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0152/2.739, allocations: 8.568 MB / 1.035 GB, free: 42.21 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003231/2.743, allocations: 0.5111 MB / 1.036 GB, free: 41.7 MB / 0.4982 GB Notification: Performance of SimCode: time 1.292e-06/2.743, allocations: 0 / 1.036 GB, free: 41.7 MB / 0.4982 GB Notification: Performance of Templates: time 2.072/4.815, allocations: 0.6663 GB / 1.702 GB, free: 169 MB / 0.545 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHanserModelica_HanserModelica.InductionMachines.IMC_DOLCalcHelperMain.o OMCppHanserModelica_HanserModelica.InductionMachines.IMC_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.InductionMachines.IMC_DOLCalcHelperMain.o] Error 1