Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.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_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008616/0.0008615, 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.464/1.464, allocations: 223.3 MB / 239.7 MB, free: 5.602 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.001588/0.001588, allocations: 176.5 kB / 290.9 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03331/0.03331, allocations: 8.786 MB / 350.8 MB, free: 4.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004185, allocations: 11.59 kB / 413.8 MB, free: 43.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 52.55 MB / 466.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.0173/0.1412, allocations: 13.93 MB / 480.3 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.1532, allocations: 4.903 MB / 485.2 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004042/0.1573, allocations: 83.69 kB / 485.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004089/0.1614, allocations: 0.9285 MB / 486.2 MB, free: 9.609 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/SynchronousMachines/SMEE_Synchronization1.mo:18:3-19:30:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006363/0.1678, allocations: 1.276 MB / 487.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.1709, allocations: 0.6678 MB / 488.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008273/0.1791, allocations: 4.655 MB / 492.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007133/0.1863, allocations: 2.456 MB / 495.3 MB, free: 500 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/0.19, allocations: 1.467 MB / 496.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004189/0.1942, allocations: 1.887 MB / 498.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.1957, allocations: 236 kB / 498.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.1984, allocations: 439.7 kB / 499.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001696/0.2002, allocations: 0.8757 MB / 0.4884 GB, free: 11.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.202, allocations: 0.8434 MB / 0.4893 GB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007303/0.2093, allocations: 6.108 MB / 0.4952 GB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/0.2094, allocations: 0 / 0.4952 GB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2094, allocations: 0 / 0.4952 GB, free: 4.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002521/0.2096, allocations: 0 / 0.4952 GB, free: 4.605 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01223/0.2219, allocations: 4.265 MB / 0.4994 GB, free: 276 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.222, allocations: 8.031 kB / 0.4994 GB, free: 268 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/0.228, allocations: 0.9553 MB / 0.5003 GB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007187/0.2352, allocations: 2.591 MB / 0.5029 GB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.2355, allocations: 279.4 kB / 0.5031 GB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009837/0.2365, allocations: 363.9 kB / 0.5035 GB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009657/0.2461, allocations: 4.761 MB / 0.5081 GB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.125e-05/0.2462, allocations: 8 kB / 0.5081 GB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003359/0.2466, allocations: 144 kB / 0.5083 GB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.2467, allocations: 159.4 kB / 0.5084 GB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007824/0.2546, allocations: 4.038 MB / 0.5124 GB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/0.2869, allocations: 15.89 MB / 0.5279 GB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3237/0.6107, allocations: 6.942 MB / 0.5347 GB, free: 56.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003098/0.6138, allocations: 1.531 MB / 0.5362 GB, free: 56.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008479/0.6223, allocations: 4.242 MB / 0.5403 GB, free: 56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.6225, allocations: 52.58 kB / 0.5403 GB, free: 55.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=137): time 5.851e-06/0.6225, allocations: 1.641 kB / 0.5403 GB, free: 55.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.01648/0.639, allocations: 6.505 MB / 0.5467 GB, free: 54.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.6391, allocations: 73.45 kB / 0.5468 GB, free: 54.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005499/0.6446, allocations: 2.215 MB / 0.5489 GB, free: 54.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.6449, allocations: 51.52 kB / 0.549 GB, free: 54.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.6465, allocations: 1.705 MB / 0.5506 GB, free: 52.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006238/0.6471, allocations: 0.5446 MB / 0.5512 GB, free: 52.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.6472, allocations: 41.16 kB / 0.5512 GB, free: 52.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6474, allocations: 395.8 kB / 0.5516 GB, free: 51.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.6489, allocations: 0.8217 MB / 0.5524 GB, free: 51.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.6508, allocations: 1.477 MB / 0.5538 GB, free: 50.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.6527, allocations: 1.093 MB / 0.5549 GB, free: 49.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.6527, allocations: 5.094 kB / 0.5549 GB, free: 49.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.005437/0.6582, allocations: 2.95 MB / 0.5578 GB, free: 48.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.6583, allocations: 23.77 kB / 0.5578 GB, free: 48.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/0.6583, allocations: 19.72 kB / 0.5578 GB, free: 48.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008143/0.6591, allocations: 300.3 kB / 0.5581 GB, free: 48.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.6607, allocations: 486.1 kB / 0.5586 GB, free: 48.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00415/0.6649, allocations: 4.51 MB / 0.563 GB, free: 44.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.6674, allocations: 89.77 kB / 0.5631 GB, free: 44.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/0.6677, allocations: 94.66 kB / 0.5632 GB, free: 44.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (250): * Single equations (assignments): 247 * 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: 2 * 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: 2 {(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002728/0.6704, allocations: 1.109 MB / 0.5642 GB, free: 44.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00072/0.6711, allocations: 237.7 kB / 0.5645 GB, free: 43.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004249/0.6754, allocations: 2.446 MB / 0.5669 GB, free: 42.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.6754, allocations: 18.45 kB / 0.5669 GB, free: 42.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.6754, allocations: 3.875 kB / 0.5669 GB, free: 42.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.6755, allocations: 11.81 kB / 0.5669 GB, free: 42.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009669/0.6851, allocations: 5.783 MB / 0.5725 GB, free: 38.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.6852, allocations: 3.938 kB / 0.5725 GB, free: 38.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.6864, allocations: 276.9 kB / 0.5728 GB, free: 38.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008252/0.6872, allocations: 323.9 kB / 0.5731 GB, free: 38.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.6873, allocations: 40.05 kB / 0.5732 GB, free: 38.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/0.6929, allocations: 6.437 MB / 0.5794 GB, free: 31.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.693, allocations: 7.984 kB / 0.5795 GB, free: 31.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.6984, allocations: 3.526 MB / 0.5829 GB, free: 28.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/0.7002, allocations: 0.5015 MB / 0.5834 GB, free: 27.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009558/0.7011, allocations: 32 kB / 0.5834 GB, free: 27.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.7023, allocations: 67.95 kB / 0.5835 GB, free: 27.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/0.7027, allocations: 125 kB / 0.5836 GB, free: 27.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.7028, allocations: 47.98 kB / 0.5836 GB, free: 27.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002344/0.7051, allocations: 1.499 MB / 0.5851 GB, free: 25.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7051, allocations: 0 / 0.5851 GB, free: 25.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002942/0.7081, allocations: 0.6523 MB / 0.5857 GB, free: 25.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im,constantTorque.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 {(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003957/0.7085, allocations: 161.6 kB / 0.5859 GB, free: 25.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003668/0.7122, allocations: 2.434 MB / 0.5883 GB, free: 22.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7122, allocations: 0.8438 kB / 0.5883 GB, free: 22.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.7142, allocations: 1.42 MB / 0.5897 GB, free: 21.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/0.717, allocations: 0.5634 MB / 0.5902 GB, free: 20.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.7294, allocations: 7.778 MB / 0.5978 GB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.7313, allocations: 2.45 MB / 0.6002 GB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008833/0.7322, allocations: 171.4 kB / 0.6004 GB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7323, allocations: 4 kB / 0.6004 GB, free: 10.08 MB / 366.1 MB Notification: Performance of Templates: time 0.1324/0.8646, allocations: 99.36 MB / 0.6974 GB, free: 6.754 MB / 462.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.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_Synchronization3CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3CalcHelperMain.o] Error 1