Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.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_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008194/0.0008194, allocations: 102.3 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.477/1.477, allocations: 223.3 MB / 239.7 MB, free: 5.469 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.001026/0.001026, allocations: 188.4 kB / 290.9 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03353/0.03353, allocations: 8.783 MB / 350.8 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 17.77 kB / 413.8 MB, free: 42.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 52.55 MB / 466.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.01595/0.1436, allocations: 13.93 MB / 480.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.1549, allocations: 4.903 MB / 485.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003683/0.1586, allocations: 83.69 kB / 485.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003725/0.1623, allocations: 0.9324 MB / 486.2 MB, free: 9.566 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.0059/0.1683, allocations: 1.272 MB / 487.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.1708, allocations: 0.6634 MB / 488.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007626/0.1785, allocations: 4.664 MB / 492.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003698/0.1822, allocations: 2.452 MB / 495.3 MB, free: 460 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.1851, allocations: 1.467 MB / 496.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/0.1884, allocations: 1.887 MB / 498.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005215/0.1889, allocations: 236 kB / 498.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.1904, allocations: 427.8 kB / 499.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008217/0.1913, allocations: 0.8873 MB / 0.4884 GB, free: 11.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.1925, allocations: 0.8395 MB / 0.4893 GB, free: 10.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006708/0.1992, allocations: 6.108 MB / 0.4952 GB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.1992, allocations: 0 / 0.4952 GB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1993, allocations: 0 / 0.4952 GB, free: 4.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002624/0.1995, allocations: 0 / 0.4952 GB, free: 4.57 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.01202/0.2116, allocations: 4.257 MB / 0.4994 GB, free: 248 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2116, allocations: 8.031 kB / 0.4994 GB, free: 240 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005518/0.2171, allocations: 0.9592 MB / 0.5003 GB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005845/0.223, allocations: 2.599 MB / 0.5029 GB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.2233, allocations: 275.4 kB / 0.5031 GB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006321/0.2239, allocations: 367.9 kB / 0.5035 GB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008966/0.2329, allocations: 4.749 MB / 0.5081 GB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.715e-05/0.233, allocations: 4 kB / 0.5081 GB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.2333, allocations: 156 kB / 0.5083 GB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/0.2335, allocations: 163.3 kB / 0.5084 GB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007352/0.2409, allocations: 4.034 MB / 0.5124 GB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0252/0.2661, allocations: 15.89 MB / 0.5279 GB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.302/0.5681, allocations: 6.937 MB / 0.5347 GB, free: 57.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003016/0.5712, allocations: 1.534 MB / 0.5361 GB, free: 57.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008808/0.58, allocations: 4.241 MB / 0.5403 GB, free: 56.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.5801, allocations: 48.09 kB / 0.5403 GB, free: 56.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=137): time 4.96e-06/0.5801, allocations: 0 / 0.5403 GB, free: 56.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.01606/0.5962, allocations: 6.507 MB / 0.5467 GB, free: 54.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.5963, allocations: 71.39 kB / 0.5468 GB, free: 54.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/0.6011, allocations: 2.221 MB / 0.5489 GB, free: 54.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003348/0.6015, allocations: 51.92 kB / 0.549 GB, free: 54.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.6029, allocations: 1.704 MB / 0.5506 GB, free: 52.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006205/0.6035, allocations: 0.5506 MB / 0.5512 GB, free: 52.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.6036, allocations: 39.78 kB / 0.5512 GB, free: 52.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.6038, allocations: 391.2 kB / 0.5516 GB, free: 52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.6054, allocations: 0.8207 MB / 0.5524 GB, free: 51.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.6074, allocations: 1.479 MB / 0.5538 GB, free: 50.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.6093, allocations: 1.098 MB / 0.5549 GB, free: 50.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-05/0.6094, allocations: 6.281 kB / 0.5549 GB, free: 50.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.005741/0.6151, allocations: 2.945 MB / 0.5578 GB, free: 48.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.6152, allocations: 19.7 kB / 0.5578 GB, free: 48.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.87e-05/0.6152, allocations: 20.16 kB / 0.5578 GB, free: 48.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008495/0.6161, allocations: 306.5 kB / 0.5581 GB, free: 48.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.6177, allocations: 484.3 kB / 0.5586 GB, free: 48.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/0.6219, allocations: 4.508 MB / 0.563 GB, free: 44.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.6244, allocations: 92.12 kB / 0.5631 GB, free: 44.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/0.6247, allocations: 93.28 kB / 0.5632 GB, free: 44.72 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.002683/0.6274, allocations: 1.111 MB / 0.5642 GB, free: 44.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008172/0.6282, allocations: 236.6 kB / 0.5645 GB, free: 43.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.6325, allocations: 2.442 MB / 0.5669 GB, free: 42.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.6326, allocations: 20.52 kB / 0.5669 GB, free: 42.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.6326, allocations: 3.938 kB / 0.5669 GB, free: 42.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.6326, allocations: 8.531 kB / 0.5669 GB, free: 42.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009027/0.6416, allocations: 5.784 MB / 0.5725 GB, free: 38.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.6417, allocations: 3.688 kB / 0.5725 GB, free: 38.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.6428, allocations: 276.6 kB / 0.5728 GB, free: 38.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008181/0.6436, allocations: 325.4 kB / 0.5731 GB, free: 38.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.6438, allocations: 39.33 kB / 0.5732 GB, free: 38.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005611/0.6494, allocations: 6.439 MB / 0.5794 GB, free: 31.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6494, allocations: 7.781 kB / 0.5794 GB, free: 31.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005714/0.6551, allocations: 3.526 MB / 0.5829 GB, free: 28.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/0.6568, allocations: 0.502 MB / 0.5834 GB, free: 27.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.6571, allocations: 28 kB / 0.5834 GB, free: 27.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.658, allocations: 71.95 kB / 0.5835 GB, free: 27.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.6583, allocations: 125 kB / 0.5836 GB, free: 27.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.673e-05/0.6584, allocations: 43.98 kB / 0.5836 GB, free: 27.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002099/0.6605, allocations: 1.499 MB / 0.5851 GB, free: 25.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6605, allocations: 0 / 0.5851 GB, free: 25.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002527/0.6631, allocations: 0.6549 MB / 0.5857 GB, free: 25.27 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.0003296/0.6634, allocations: 160.2 kB / 0.5859 GB, free: 25.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003459/0.6669, allocations: 2.437 MB / 0.5883 GB, free: 22.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6669, allocations: 0 / 0.5883 GB, free: 22.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.6687, allocations: 1.42 MB / 0.5897 GB, free: 21.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/0.6716, allocations: 0.5634 MB / 0.5902 GB, free: 20.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.6833, allocations: 7.774 MB / 0.5978 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/0.6853, allocations: 2.454 MB / 0.6002 GB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008804/0.6862, allocations: 175.4 kB / 0.6004 GB, free: 10.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6862, allocations: 0 / 0.6004 GB, free: 10.16 MB / 366.1 MB Notification: Performance of Templates: time 0.141/0.8272, allocations: 99.36 MB / 0.6974 GB, free: 6.836 MB / 462.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.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_Synchronization2CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2CalcHelperMain.o] Error 1