Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008509/0.0008513, allocations: 102.4 kB / 15.71 MB, free: 440 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.51/1.51, allocations: 223.3 MB / 239.7 MB, free: 5.625 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.001949/0.001949, allocations: 184.5 kB / 290.9 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03437/0.03437, allocations: 8.792 MB / 350.8 MB, free: 4.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004072, allocations: 9.344 kB / 413.8 MB, free: 43.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1434, allocations: 52.56 MB / 466.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01782/0.1613, allocations: 14.03 MB / 480.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.1751, allocations: 4.93 MB / 485.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00384/0.1789, allocations: 87.69 kB / 485.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004463/0.1834, allocations: 0.9401 MB / 486.3 MB, free: 9.508 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006663/0.1901, allocations: 1.245 MB / 487.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.1935, allocations: 0.6725 MB / 488.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009985/0.2035, allocations: 4.525 MB / 492.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00916/0.2127, allocations: 2.417 MB / 495.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005176/0.218, allocations: 1.424 MB / 496.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005044/0.2231, allocations: 1.789 MB / 498.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001875/0.225, allocations: 236 kB / 498.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/0.2285, allocations: 439.5 kB / 499.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002416/0.231, allocations: 0.8329 MB / 499.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003014/0.234, allocations: 0.82 MB / 0.489 GB, free: 11.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.2451, allocations: 5.956 MB / 0.4948 GB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.2452, allocations: 0 / 0.4948 GB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.2452, allocations: 0 / 0.4948 GB, free: 5.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003811/0.2456, allocations: 0 / 0.4948 GB, free: 5.066 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01507/0.2607, allocations: 4.112 MB / 0.4988 GB, free: 0.8828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.2607, allocations: 8.031 kB / 0.4988 GB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006479/0.2672, allocations: 0.9475 MB / 0.4998 GB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008004/0.2753, allocations: 2.496 MB / 0.5022 GB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004681/0.2758, allocations: 287.3 kB / 0.5025 GB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.2776, allocations: 363.9 kB / 0.5028 GB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/0.2933, allocations: 4.653 MB / 0.5074 GB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002032/0.2936, allocations: 7.906 kB / 0.5074 GB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/0.2948, allocations: 152 kB / 0.5075 GB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002226/0.295, allocations: 155.3 kB / 0.5077 GB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.3065, allocations: 3.874 MB / 0.5114 GB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03633/0.3428, allocations: 15.61 MB / 0.5267 GB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3304/0.6732, allocations: 6.107 MB / 0.5327 GB, free: 59.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/0.6761, allocations: 1.398 MB / 0.534 GB, free: 59.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007235/0.6834, allocations: 4.288 MB / 0.5382 GB, free: 58.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.6834, allocations: 45.64 kB / 0.5383 GB, free: 58.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=125): time 3.216e-06/0.6835, allocations: 0 / 0.5383 GB, free: 58.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=156): time 0.01736/0.7008, allocations: 6.209 MB / 0.5443 GB, free: 57.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.7009, allocations: 68.41 kB / 0.5444 GB, free: 57.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006163/0.7071, allocations: 2.079 MB / 0.5464 GB, free: 56.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002464/0.7074, allocations: 55.14 kB / 0.5465 GB, free: 56.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.7092, allocations: 1.696 MB / 0.5481 GB, free: 55.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/0.7099, allocations: 0.535 MB / 0.5486 GB, free: 55.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.71, allocations: 45.12 kB / 0.5487 GB, free: 55.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.7103, allocations: 391 kB / 0.5491 GB, free: 54.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.7123, allocations: 0.7719 MB / 0.5498 GB, free: 54.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.7148, allocations: 1.545 MB / 0.5513 GB, free: 53.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.7264, allocations: 2.729 MB / 0.554 GB, free: 52.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.789e-05/0.7265, allocations: 7.562 kB / 0.554 GB, free: 52.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005776/0.7323, allocations: 2.87 MB / 0.5568 GB, free: 51.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.7324, allocations: 19.8 kB / 0.5568 GB, free: 51.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/0.7324, allocations: 32.11 kB / 0.5568 GB, free: 51.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009152/0.7334, allocations: 364.1 kB / 0.5572 GB, free: 51.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.7349, allocations: 487.2 kB / 0.5577 GB, free: 50.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004498/0.7394, allocations: 3.821 MB / 0.5614 GB, free: 48.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.7416, allocations: 91.84 kB / 0.5615 GB, free: 48.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.7418, allocations: 102.3 kB / 0.5616 GB, free: 48.06 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: smee.is[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (256): * Single equations (assignments): 254 * 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: 1 * 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: 1 {(3,77.8%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002332/0.7441, allocations: 1.095 MB / 0.5626 GB, free: 47.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000505/0.7446, allocations: 231.4 kB / 0.5629 GB, free: 47.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/0.7479, allocations: 1.992 MB / 0.5648 GB, free: 46.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.7479, allocations: 14.75 kB / 0.5648 GB, free: 46.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.7479, allocations: 3.438 kB / 0.5648 GB, free: 46.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.748, allocations: 3.984 kB / 0.5648 GB, free: 46.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007511/0.7555, allocations: 5.491 MB / 0.5702 GB, free: 42.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.7555, allocations: 7.953 kB / 0.5702 GB, free: 42.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/0.7565, allocations: 264.3 kB / 0.5705 GB, free: 41.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006936/0.7572, allocations: 293.6 kB / 0.5707 GB, free: 41.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.09e-05/0.7573, allocations: 39.98 kB / 0.5708 GB, free: 41.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003592/0.7609, allocations: 3.589 MB / 0.5743 GB, free: 37.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7609, allocations: 4 kB / 0.5743 GB, free: 37.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004038/0.765, allocations: 2.939 MB / 0.5771 GB, free: 34.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.7662, allocations: 478.2 kB / 0.5776 GB, free: 34.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/0.7666, allocations: 28 kB / 0.5776 GB, free: 34.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/0.7676, allocations: 67.27 kB / 0.5777 GB, free: 34.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.7678, allocations: 109.2 kB / 0.5778 GB, free: 34.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/0.7679, allocations: 40 kB / 0.5778 GB, free: 34.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00227/0.7702, allocations: 1.399 MB / 0.5792 GB, free: 32.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.7702, allocations: 0 / 0.5792 GB, free: 32.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003229/0.7734, allocations: 0.6514 MB / 0.5798 GB, free: 32.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * 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 (132): * Single equations (assignments): 131 * 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 {(3,77.8%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003863/0.7738, allocations: 168.9 kB / 0.58 GB, free: 31.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003678/0.7775, allocations: 2.273 MB / 0.5822 GB, free: 29.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.7775, allocations: 4 kB / 0.5822 GB, free: 29.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.779, allocations: 1.085 MB / 0.5833 GB, free: 28.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.7815, allocations: 0.5519 MB / 0.5838 GB, free: 27.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.7935, allocations: 7.413 MB / 0.5911 GB, free: 20.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/0.7957, allocations: 2.376 MB / 0.5934 GB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007896/0.7965, allocations: 171.3 kB / 0.5935 GB, free: 17.9 MB / 366.1 MB Notification: Performance of SimCode: time 1.403e-06/0.7965, allocations: 0 / 0.5935 GB, free: 17.9 MB / 366.1 MB Notification: Performance of Templates: time 0.1038/0.9003, allocations: 68.29 MB / 0.6602 GB, free: 13.72 MB / 430.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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_ShortCircuit2CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2CalcHelperMain.o] Error 1