Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009407/0.0009409, allocations: 100.5 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.472/1.472, allocations: 223.3 MB / 239.7 MB, free: 5.535 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.001304/0.001304, allocations: 171.8 kB / 290.9 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03417/0.03417, allocations: 8.771 MB / 350.8 MB, free: 4.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005419/0.000542, allocations: 12.8 kB / 413.8 MB, free: 43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1322, allocations: 52.55 MB / 466.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.0163/0.1486, allocations: 14.73 MB / 481.1 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.1607, allocations: 5.082 MB / 486.2 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003502/0.1643, allocations: 95.69 kB / 486.3 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.1677, allocations: 0.9594 MB / 487.2 MB, free: 8.598 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/SynchronousMachines/SMEE_DOL.mo:12:3-13:30:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.005627/0.1733, allocations: 1.335 MB / 488.6 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.1761, allocations: 0.7019 MB / 489.3 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008516/0.1846, allocations: 4.946 MB / 494.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004481/0.1891, allocations: 2.741 MB / 496.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/0.1928, allocations: 1.568 MB / 498.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004178/0.197, allocations: 2.05 MB / 0.4888 GB, free: 11.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007809/0.1978, allocations: 252 kB / 0.4891 GB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.1999, allocations: 463.7 kB / 0.4895 GB, free: 10.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.201, allocations: 0.973 MB / 0.4905 GB, free: 9.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.2026, allocations: 0.9096 MB / 0.4914 GB, free: 8.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009943/0.2126, allocations: 6.603 MB / 0.4978 GB, free: 1.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.2127, allocations: 4 kB / 0.4978 GB, free: 1.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.2127, allocations: 0 / 0.4978 GB, free: 1.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003845/0.2131, allocations: 0 / 0.4978 GB, free: 1.949 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01553/0.2286, allocations: 4.614 MB / 0.5023 GB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.2287, allocations: 12.03 kB / 0.5023 GB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006452/0.2351, allocations: 0.99 MB / 0.5033 GB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007478/0.2426, allocations: 2.789 MB / 0.506 GB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.243, allocations: 308.1 kB / 0.5063 GB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.2445, allocations: 403.9 kB / 0.5067 GB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.2572, allocations: 5.209 MB / 0.5118 GB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.951e-05/0.2573, allocations: 7.938 kB / 0.5118 GB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003937/0.2577, allocations: 160 kB / 0.5119 GB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.2579, allocations: 176 kB / 0.5121 GB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009868/0.2678, allocations: 4.47 MB / 0.5165 GB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3289/0.5968, allocations: 16.93 MB / 0.533 GB, free: 56.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007188/0.604, allocations: 8.446 MB / 0.5413 GB, free: 50.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003265/0.6073, allocations: 1.731 MB / 0.5429 GB, free: 50.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009696/0.617, allocations: 5.043 MB / 0.5479 GB, free: 49.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.6171, allocations: 49 kB / 0.5479 GB, free: 49.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=158): time 3.757e-06/0.6171, allocations: 1.031 kB / 0.5479 GB, free: 49.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=161): time 0.01374/0.6309, allocations: 6.266 MB / 0.554 GB, free: 47.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.631, allocations: 70.34 kB / 0.5541 GB, free: 47.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/0.6357, allocations: 2.297 MB / 0.5563 GB, free: 47.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002575/0.6359, allocations: 53.64 kB / 0.5564 GB, free: 47.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.6371, allocations: 1.847 MB / 0.5582 GB, free: 45.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.6375, allocations: 0.5526 MB / 0.5587 GB, free: 45.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.953e-05/0.6376, allocations: 43.94 kB / 0.5588 GB, free: 45.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6378, allocations: 395.5 kB / 0.5592 GB, free: 44.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.6391, allocations: 0.857 MB / 0.56 GB, free: 44.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.6406, allocations: 1.579 MB / 0.5615 GB, free: 43.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.6421, allocations: 1.131 MB / 0.5626 GB, free: 42.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.6422, allocations: 6.812 kB / 0.5627 GB, free: 42.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.00452/0.6467, allocations: 2.911 MB / 0.5655 GB, free: 41.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.6467, allocations: 17 kB / 0.5655 GB, free: 41.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.6468, allocations: 21.91 kB / 0.5655 GB, free: 41.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.6471, allocations: 128.5 kB / 0.5657 GB, free: 41.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.6489, allocations: 0.5537 MB / 0.5662 GB, free: 41.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.6502, allocations: 1.846 MB / 0.568 GB, free: 39.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.6521, allocations: 117.6 kB / 0.5681 GB, free: 39.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.6522, allocations: 101.8 kB / 0.5682 GB, free: 39.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 268 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0023/0.6546, allocations: 1.189 MB / 0.5694 GB, free: 38.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000497/0.6551, allocations: 241.7 kB / 0.5696 GB, free: 38.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/0.6591, allocations: 2.496 MB / 0.572 GB, free: 36.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.6591, allocations: 30.48 kB / 0.5721 GB, free: 36.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.6592, allocations: 7.516 kB / 0.5721 GB, free: 36.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.6592, allocations: 3.984 kB / 0.5721 GB, free: 36.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008661/0.6678, allocations: 5.851 MB / 0.5778 GB, free: 32.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.6679, allocations: 4 kB / 0.5778 GB, free: 32.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.669, allocations: 299.8 kB / 0.5781 GB, free: 32.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007214/0.6698, allocations: 310.3 kB / 0.5784 GB, free: 31.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/0.6699, allocations: 39.98 kB / 0.5784 GB, free: 31.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004937/0.6748, allocations: 6.412 MB / 0.5847 GB, free: 24.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6748, allocations: 0 / 0.5847 GB, free: 24.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005556/0.6804, allocations: 3.625 MB / 0.5882 GB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.6819, allocations: 0.498 MB / 0.5887 GB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/0.6822, allocations: 32 kB / 0.5887 GB, free: 20.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.6832, allocations: 95.92 kB / 0.5888 GB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.6835, allocations: 123.5 kB / 0.5889 GB, free: 20.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.6836, allocations: 43.98 kB / 0.589 GB, free: 20.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002171/0.6858, allocations: 1.552 MB / 0.5905 GB, free: 18.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6858, allocations: 0 / 0.5905 GB, free: 18.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002631/0.6884, allocations: 0.6796 MB / 0.5912 GB, free: 18.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 130 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000368/0.6888, allocations: 175.6 kB / 0.5913 GB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.6921, allocations: 2.303 MB / 0.5936 GB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6922, allocations: 4 kB / 0.5936 GB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.694, allocations: 1.471 MB / 0.595 GB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.6968, allocations: 0.5672 MB / 0.5956 GB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.7092, allocations: 8.342 MB / 0.6037 GB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/0.7112, allocations: 2.606 MB / 0.6063 GB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009677/0.7122, allocations: 179.4 kB / 0.6064 GB, free: 2.387 MB / 366.1 MB Notification: Performance of SimCode: time 1.452e-06/0.7122, allocations: 0 / 0.6064 GB, free: 2.387 MB / 366.1 MB Notification: Performance of Templates: time 0.1348/0.847, allocations: 94.93 MB / 0.6991 GB, free: 3.516 MB / 462.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_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.SynchronousMachines.SMEE_DOLCalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_DOLCalcHelperMain.o] Error 1