Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009046/0.0009044, 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.552/1.552, allocations: 223.3 MB / 239.7 MB, free: 5.633 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.001547/0.001547, allocations: 188.5 kB / 290.9 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03332/0.03332, allocations: 8.788 MB / 350.8 MB, free: 4.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 14.52 kB / 413.8 MB, free: 42.96 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1278, allocations: 52.56 MB / 466.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.02615/0.154, allocations: 22.23 MB / 488.6 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02095/0.175, allocations: 7.321 MB / 495.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007946/0.183, allocations: 159.5 kB / 496.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007564/0.1906, allocations: 1.426 MB / 497.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.2025, allocations: 2.506 MB / 0.4883 GB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005926/0.2085, allocations: 1.32 MB / 0.4896 GB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01824/0.2267, allocations: 10.81 MB / 0.5001 GB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03618/0.263, allocations: 13.81 MB / 0.5136 GB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009546/0.2726, allocations: 3.52 MB / 0.517 GB, free: 14.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009524/0.2822, allocations: 3.977 MB / 0.5209 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00316/0.2854, allocations: 0.5195 MB / 0.5214 GB, free: 9.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005972/0.2914, allocations: 0.8668 MB / 0.5223 GB, free: 8.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004239/0.2956, allocations: 1.666 MB / 0.5239 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005604/0.3013, allocations: 1.709 MB / 0.5256 GB, free: 5.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3511/0.6524, allocations: 15.3 MB / 0.5405 GB, free: 21.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.6525, allocations: 1.938 kB / 0.5405 GB, free: 21.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.17e-06/0.6525, allocations: 0 / 0.5405 GB, free: 21.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008536/0.6534, allocations: 0 / 0.5405 GB, free: 21.91 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03356/0.687, allocations: 9.141 MB / 0.5495 GB, free: 17.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.687, allocations: 8.344 kB / 0.5495 GB, free: 17.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03246/0.7195, allocations: 5.655 MB / 0.555 GB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01525/0.7348, allocations: 5.598 MB / 0.5605 GB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000862/0.7357, allocations: 0.5839 MB / 0.561 GB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004706/0.7404, allocations: 0.7685 MB / 0.5618 GB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03715/0.7776, allocations: 12.71 MB / 0.5742 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003288/0.778, allocations: 15.75 kB / 0.5742 GB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003356/0.7813, allocations: 327.2 kB / 0.5745 GB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004959/0.7818, allocations: 0.4895 MB / 0.575 GB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0279/0.8097, allocations: 12.19 MB / 0.5869 GB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09514/0.9049, allocations: 43.82 MB / 0.6297 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02985/0.9348, allocations: 25.13 MB / 0.6542 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007541/0.9424, allocations: 2.966 MB / 0.6571 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007528/0.9432, allocations: 244.6 kB / 0.6574 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006278/0.9495, allocations: 2.573 MB / 0.6599 GB, free: 9.305 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 1.292e-05/0.9496, allocations: 0 / 0.6599 GB, free: 9.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.06193/1.012, allocations: 19.68 MB / 0.6791 GB, free: 5.527 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002227/1.012, allocations: 359.5 kB / 0.6794 GB, free: 5.102 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006426/1.018, allocations: 3.491 MB / 0.6828 GB, free: 1.605 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008915/1.019, allocations: 89.7 kB / 0.6829 GB, free: 1.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003132/1.022, allocations: 3.382 MB / 0.6862 GB, free: 14.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002726/1.025, allocations: 1.349 MB / 0.6876 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/1.025, allocations: 116 kB / 0.6877 GB, free: 12.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004703/1.026, allocations: 0.5258 MB / 0.6882 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004671/1.031, allocations: 2.533 MB / 0.6906 GB, free: 9.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00599/1.037, allocations: 4.498 MB / 0.695 GB, free: 4.242 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006245/1.043, allocations: 3.538 MB / 0.6985 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-05/1.043, allocations: 19.78 kB / 0.6985 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0165/1.059, allocations: 8.239 MB / 0.7066 GB, free: 8.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.06, allocations: 53.7 kB / 0.7066 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/1.06, allocations: 64 kB / 0.7067 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/1.063, allocations: 1.005 MB / 0.7077 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005502/1.068, allocations: 1.261 MB / 0.7089 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3723/1.441, allocations: 8.211 MB / 0.7169 GB, free: 167.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006306/1.447, allocations: 359.5 kB / 0.7172 GB, free: 167.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/1.449, allocations: 264 kB / 0.7175 GB, free: 167.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,53.0%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009025/1.458, allocations: 2.897 MB / 0.7203 GB, free: 167.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/1.459, allocations: 393.5 kB / 0.7207 GB, free: 167.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/1.473, allocations: 6.181 MB / 0.7267 GB, free: 166.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-05/1.473, allocations: 40.28 kB / 0.7268 GB, free: 166.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-05/1.473, allocations: 10.5 kB / 0.7268 GB, free: 166.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.505e-05/1.473, allocations: 19.47 kB / 0.7268 GB, free: 166.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02991/1.503, allocations: 14.91 MB / 0.7414 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.503, allocations: 3.812 kB / 0.7414 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/1.506, allocations: 0.6879 MB / 0.742 GB, free: 160.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002357/1.508, allocations: 0.88 MB / 0.7429 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004525/1.508, allocations: 85.78 kB / 0.743 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009674/1.518, allocations: 7.178 MB / 0.75 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/1.518, allocations: 7 kB / 0.75 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/1.534, allocations: 8.746 MB / 0.7585 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003267/1.537, allocations: 0.9337 MB / 0.7595 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001323/1.538, allocations: 77.91 kB / 0.7595 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/1.541, allocations: 200.4 kB / 0.7597 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006034/1.542, allocations: 273 kB / 0.76 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/1.542, allocations: 111 kB / 0.7601 GB, free: 149.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0045/1.546, allocations: 2.337 MB / 0.7624 GB, free: 148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.546, allocations: 6 kB / 0.7624 GB, free: 148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01001/1.556, allocations: 1.453 MB / 0.7638 GB, free: 146.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,50.0%) 46} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001971/1.559, allocations: 251.8 kB / 0.764 GB, free: 146.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01594/1.574, allocations: 6.438 MB / 0.7703 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/1.575, allocations: 0 / 0.7703 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007574/1.582, allocations: 3.094 MB / 0.7733 GB, free: 136.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008547/1.591, allocations: 0.7851 MB / 0.7741 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03602/1.627, allocations: 16.3 MB / 0.79 GB, free: 119.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005573/1.632, allocations: 4.865 MB / 0.7948 GB, free: 114.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/1.635, allocations: 371.3 kB / 0.7951 GB, free: 114.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.473e-06/1.635, allocations: 0 / 0.7951 GB, free: 114.5 MB / 494.1 MB Notification: Performance of Templates: time 0.4658/2.1, allocations: 130.8 MB / 0.9229 GB, free: 161.6 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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_VCurve3CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3CalcHelperMain.o] Error 1