Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 99.36 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.553/1.553, allocations: 223.2 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.001119/0.001119, allocations: 172.6 kB / 290.9 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03312/0.03312, allocations: 8.775 MB / 350.8 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003862, allocations: 10.44 kB / 413.8 MB, free: 43.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.126, allocations: 52.55 MB / 466.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02342/0.1494, allocations: 22.2 MB / 488.6 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01765/0.1671, allocations: 7.394 MB / 496 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005924/0.1731, allocations: 155.6 kB / 496.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005631/0.1788, allocations: 1.239 MB / 497.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00909/0.1879, allocations: 2.239 MB / 499.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004452/0.1924, allocations: 1.038 MB / 0.4889 GB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01388/0.2063, allocations: 8.472 MB / 0.4972 GB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02329/0.2296, allocations: 11.12 MB / 0.508 GB, free: 7.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006272/0.2359, allocations: 2.76 MB / 0.5107 GB, free: 4.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007063/0.2431, allocations: 3.218 MB / 0.5139 GB, free: 1.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001974/0.2451, allocations: 428 kB / 0.5143 GB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.2494, allocations: 0.773 MB / 0.515 GB, free: 284 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.2511, allocations: 1.343 MB / 0.5163 GB, free: 14.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003221/0.2543, allocations: 1.389 MB / 0.5177 GB, free: 13.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01711/0.2714, allocations: 12.13 MB / 0.5295 GB, free: 1.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2715, allocations: 0 / 0.5295 GB, free: 1.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.36e-06/0.2715, allocations: 0 / 0.5295 GB, free: 1.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005115/0.272, allocations: 8 kB / 0.5295 GB, free: 1.359 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.3285/0.6006, allocations: 7.44 MB / 0.5368 GB, free: 60.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/0.6006, allocations: 9.281 kB / 0.5368 GB, free: 60.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02656/0.6272, allocations: 4.403 MB / 0.5411 GB, free: 59.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.6386, allocations: 4.464 MB / 0.5455 GB, free: 57.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006715/0.6393, allocations: 486.1 kB / 0.5459 GB, free: 57.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/0.6428, allocations: 0.6346 MB / 0.5466 GB, free: 57.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03248/0.6753, allocations: 10.3 MB / 0.5566 GB, free: 52.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003378/0.6757, allocations: 11.88 kB / 0.5566 GB, free: 52.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002826/0.6785, allocations: 268.5 kB / 0.5569 GB, free: 52.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005125/0.679, allocations: 417.3 kB / 0.5573 GB, free: 52.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02537/0.7044, allocations: 9.81 MB / 0.5669 GB, free: 42.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06783/0.7723, allocations: 35.75 MB / 0.6018 GB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01977/0.7921, allocations: 20.62 MB / 0.6219 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004654/0.7968, allocations: 2.298 MB / 0.6242 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005102/0.7974, allocations: 233 kB / 0.6244 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.406e-05/0.7975, allocations: 68.83 kB / 0.6244 GB, free: 12.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=295): time 5.159e-06/0.7975, allocations: 0 / 0.6244 GB, free: 12.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=301): time 0.02969/0.8272, allocations: 11.59 MB / 0.6358 GB, free: 388 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.8273, allocations: 85.73 kB / 0.6358 GB, free: 288 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006815/0.8341, allocations: 3.009 MB / 0.6388 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006328/0.8348, allocations: 73.64 kB / 0.6389 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002498/0.8373, allocations: 2.86 MB / 0.6417 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001592/0.8389, allocations: 1.035 MB / 0.6427 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006366/0.8396, allocations: 92 kB / 0.6427 GB, free: 9.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004219/0.84, allocations: 496.1 kB / 0.6432 GB, free: 8.688 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003511/0.8435, allocations: 2.012 MB / 0.6452 GB, free: 6.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.8482, allocations: 3.705 MB / 0.6488 GB, free: 2.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004439/0.8526, allocations: 2.812 MB / 0.6516 GB, free: 15.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-05/0.8527, allocations: 16 kB / 0.6516 GB, free: 15.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01163/0.8643, allocations: 6.595 MB / 0.658 GB, free: 8.699 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.8644, allocations: 34.03 kB / 0.658 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.8646, allocations: 52 kB / 0.6581 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.8663, allocations: 0.6769 MB / 0.6587 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/0.8701, allocations: 1.065 MB / 0.6598 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008246/0.8783, allocations: 5.8 MB / 0.6655 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/0.8825, allocations: 275.5 kB / 0.6657 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007893/0.8833, allocations: 228 kB / 0.6659 GB, free: 456 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004752/0.8881, allocations: 2.312 MB / 0.6682 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008903/0.889, allocations: 316.1 kB / 0.6685 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007957/0.8969, allocations: 4.641 MB / 0.673 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/0.897, allocations: 32 kB / 0.6731 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.897, allocations: 4 kB / 0.6731 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-05/0.897, allocations: 15.94 kB / 0.6731 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/0.9169, allocations: 11.23 MB / 0.684 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.9169, allocations: 8.125 kB / 0.6841 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.9189, allocations: 0.5343 MB / 0.6846 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.9206, allocations: 0.5657 MB / 0.6851 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/0.9208, allocations: 67.94 kB / 0.6852 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007017/0.9279, allocations: 5.036 MB / 0.6901 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.9279, allocations: 11.94 kB / 0.6901 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.9386, allocations: 6.546 MB / 0.6965 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/0.9407, allocations: 0.747 MB / 0.6972 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004706/0.9412, allocations: 59.98 kB / 0.6973 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.9427, allocations: 159.8 kB / 0.6975 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004355/0.9431, allocations: 202 kB / 0.6976 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.9433, allocations: 87.98 kB / 0.6977 GB, free: 15.29 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003626/0.9469, allocations: 2.001 MB / 0.6997 GB, free: 13.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.947, allocations: 0 / 0.6997 GB, free: 13.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00508/0.952, allocations: 1.171 MB / 0.7008 GB, free: 12.12 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,62.5%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005449/0.9526, allocations: 229 kB / 0.701 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009067/0.9617, allocations: 4.993 MB / 0.7059 GB, free: 6.871 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/0.9618, allocations: 8.062 kB / 0.7059 GB, free: 6.863 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003989/0.9658, allocations: 2.257 MB / 0.7081 GB, free: 4.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/0.9694, allocations: 0.6247 MB / 0.7087 GB, free: 3.977 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2902/1.26, allocations: 13.09 MB / 0.7215 GB, free: 154.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006542/1.266, allocations: 4.041 MB / 0.7255 GB, free: 153.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/1.268, allocations: 307.6 kB / 0.7258 GB, free: 153.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.814e-06/1.268, allocations: 0 / 0.7258 GB, free: 153.3 MB / 478.1 MB Notification: Performance of Templates: time 0.1576/1.426, allocations: 105.4 MB / 0.8286 GB, free: 63.39 MB / 478.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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_Slip3CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3CalcHelperMain.o] Error 1