Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.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_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007894/0.0007894, allocations: 102.6 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.544/1.544, allocations: 223.3 MB / 239.7 MB, free: 5.637 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.001495/0.001495, allocations: 180.5 kB / 290.9 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03428/0.03428, allocations: 8.78 MB / 350.8 MB, free: 4.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003923, allocations: 11.03 kB / 413.8 MB, free: 43.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1419, allocations: 52.56 MB / 466.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01584/0.1578, allocations: 13.91 MB / 480.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.1694, allocations: 4.903 MB / 485.2 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003614/0.173, allocations: 83.69 kB / 485.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.177, allocations: 0.9285 MB / 486.2 MB, free: 9.676 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.006227/0.1833, allocations: 1.286 MB / 487.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.1861, allocations: 0.6628 MB / 488.1 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009664/0.1958, allocations: 4.659 MB / 492.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004753/0.2006, allocations: 2.452 MB / 495.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.2038, allocations: 1.463 MB / 496.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004055/0.2079, allocations: 1.891 MB / 498.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.209, allocations: 236 kB / 498.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.211, allocations: 431.8 kB / 499.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009327/0.212, allocations: 0.8795 MB / 0.4884 GB, free: 11.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.2136, allocations: 0.8434 MB / 0.4892 GB, free: 10.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007378/0.221, allocations: 6.104 MB / 0.4952 GB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.2211, allocations: 0 / 0.4952 GB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.2211, allocations: 0 / 0.4952 GB, free: 4.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002306/0.2213, allocations: 0 / 0.4952 GB, free: 4.672 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.01257/0.2339, allocations: 4.265 MB / 0.4994 GB, free: 344 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.234, allocations: 8.031 kB / 0.4994 GB, free: 336 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005932/0.2399, allocations: 0.9553 MB / 0.5003 GB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006494/0.2464, allocations: 2.587 MB / 0.5028 GB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.2467, allocations: 283.4 kB / 0.5031 GB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000973/0.2477, allocations: 367.9 kB / 0.5035 GB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.2583, allocations: 4.753 MB / 0.5081 GB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.284e-05/0.2585, allocations: 7.938 kB / 0.5081 GB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003758/0.2588, allocations: 144 kB / 0.5082 GB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/0.2591, allocations: 159.4 kB / 0.5084 GB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/0.2669, allocations: 4.038 MB / 0.5123 GB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02686/0.2938, allocations: 15.91 MB / 0.5279 GB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3015/0.5954, allocations: 6.936 MB / 0.5346 GB, free: 56.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.5986, allocations: 1.536 MB / 0.5361 GB, free: 56.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008693/0.6073, allocations: 4.233 MB / 0.5403 GB, free: 55.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.6074, allocations: 56.84 kB / 0.5403 GB, free: 55.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=137): time 3.857e-06/0.6074, allocations: 1.281 kB / 0.5403 GB, free: 55.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.01483/0.6223, allocations: 6.505 MB / 0.5467 GB, free: 54.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.6224, allocations: 68.31 kB / 0.5468 GB, free: 54.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/0.6268, allocations: 2.213 MB / 0.5489 GB, free: 54.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.627, allocations: 54.08 kB / 0.549 GB, free: 54.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.6282, allocations: 1.708 MB / 0.5506 GB, free: 52.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004942/0.6287, allocations: 0.5426 MB / 0.5512 GB, free: 52.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.6288, allocations: 44.72 kB / 0.5512 GB, free: 52.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.629, allocations: 394.9 kB / 0.5516 GB, free: 51.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.6305, allocations: 0.8216 MB / 0.5524 GB, free: 51.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.6325, allocations: 1.478 MB / 0.5538 GB, free: 50.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.6344, allocations: 1.092 MB / 0.5549 GB, free: 49.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/0.6345, allocations: 6.125 kB / 0.5549 GB, free: 49.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.005474/0.6399, allocations: 2.949 MB / 0.5578 GB, free: 48.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.64, allocations: 19.88 kB / 0.5578 GB, free: 48.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.64, allocations: 19.69 kB / 0.5578 GB, free: 48.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008322/0.6409, allocations: 305.3 kB / 0.5581 GB, free: 48.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.6425, allocations: 482.8 kB / 0.5586 GB, free: 48.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00435/0.6468, allocations: 4.514 MB / 0.563 GB, free: 44.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.6491, allocations: 96.34 kB / 0.5631 GB, free: 44.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.6493, allocations: 92.83 kB / 0.5632 GB, free: 44.66 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.002473/0.6517, allocations: 1.112 MB / 0.5642 GB, free: 44.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006079/0.6524, allocations: 239.4 kB / 0.5645 GB, free: 43.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/0.6564, allocations: 2.431 MB / 0.5668 GB, free: 42.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.6564, allocations: 17.53 kB / 0.5669 GB, free: 42.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.6564, allocations: 3.562 kB / 0.5669 GB, free: 42.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.6565, allocations: 12.48 kB / 0.5669 GB, free: 42.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008397/0.6649, allocations: 5.786 MB / 0.5725 GB, free: 38.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.6649, allocations: 0.875 kB / 0.5725 GB, free: 38.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.666, allocations: 275.3 kB / 0.5728 GB, free: 38.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/0.6668, allocations: 326.3 kB / 0.5731 GB, free: 38.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.52e-05/0.6669, allocations: 39.58 kB / 0.5731 GB, free: 38.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005131/0.672, allocations: 6.439 MB / 0.5794 GB, free: 31.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.672, allocations: 0 / 0.5794 GB, free: 31.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/0.6769, allocations: 3.538 MB / 0.5829 GB, free: 28.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.6784, allocations: 0.4904 MB / 0.5834 GB, free: 27.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.6787, allocations: 30.66 kB / 0.5834 GB, free: 27.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.6797, allocations: 75.86 kB / 0.5835 GB, free: 27.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/0.68, allocations: 121.1 kB / 0.5836 GB, free: 27.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/0.6801, allocations: 43.98 kB / 0.5836 GB, free: 27.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002235/0.6824, allocations: 1.495 MB / 0.5851 GB, free: 25.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6824, allocations: 0 / 0.5851 GB, free: 25.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002876/0.6853, allocations: 0.6523 MB / 0.5857 GB, free: 25.25 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.0003388/0.6856, allocations: 173.1 kB / 0.5859 GB, free: 25.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003503/0.6891, allocations: 2.43 MB / 0.5883 GB, free: 22.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6891, allocations: 0 / 0.5883 GB, free: 22.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.6909, allocations: 1.425 MB / 0.5896 GB, free: 21.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.6938, allocations: 0.5553 MB / 0.5902 GB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.7057, allocations: 7.784 MB / 0.5978 GB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/0.7078, allocations: 2.454 MB / 0.6002 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/0.7088, allocations: 175.4 kB / 0.6004 GB, free: 10.13 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7089, allocations: 0 / 0.6004 GB, free: 10.13 MB / 366.1 MB Notification: Performance of Templates: time 0.1379/0.8468, allocations: 99.36 MB / 0.6974 GB, free: 6.809 MB / 462.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.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_Synchronization1CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1CalcHelperMain.o] Error 1