Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008361/0.0008361, allocations: 101.6 kB / 15.71 MB, free: 448 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.532/1.532, allocations: 223.3 MB / 239.7 MB, free: 5.629 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.001228/0.001228, allocations: 176.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.0331/0.0331, allocations: 8.786 MB / 350.8 MB, free: 4.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004053, allocations: 10.81 kB / 413.8 MB, free: 43.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1437, allocations: 52.56 MB / 466.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01609/0.1598, allocations: 14.03 MB / 480.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.1714, allocations: 4.93 MB / 485.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.1746, allocations: 87.69 kB / 485.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.1779, allocations: 0.9362 MB / 486.4 MB, free: 9.547 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.0053/0.1832, allocations: 1.251 MB / 487.6 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.1855, allocations: 0.6662 MB / 488.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007311/0.1929, allocations: 4.52 MB / 492.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003642/0.1965, allocations: 2.417 MB / 495.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.1996, allocations: 1.428 MB / 496.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.2026, allocations: 1.789 MB / 498.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004579/0.2031, allocations: 232 kB / 498.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.2046, allocations: 443.7 kB / 499.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008999/0.2055, allocations: 0.829 MB / 499.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.207, allocations: 0.8161 MB / 0.489 GB, free: 11.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007095/0.2141, allocations: 5.964 MB / 0.4948 GB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.2141, allocations: 0 / 0.4948 GB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.419e-06/0.2141, allocations: 0 / 0.4948 GB, free: 5.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002663/0.2144, allocations: 0 / 0.4948 GB, free: 5.102 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.01247/0.2269, allocations: 4.101 MB / 0.4988 GB, free: 0.9297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.227, allocations: 12.03 kB / 0.4988 GB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005453/0.2324, allocations: 0.9477 MB / 0.4998 GB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005961/0.2384, allocations: 2.507 MB / 0.5022 GB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.2387, allocations: 283.2 kB / 0.5025 GB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006163/0.2393, allocations: 363.9 kB / 0.5028 GB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0094/0.2487, allocations: 4.639 MB / 0.5074 GB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.779e-05/0.2488, allocations: 7.844 kB / 0.5074 GB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/0.2492, allocations: 156 kB / 0.5075 GB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.2494, allocations: 155.3 kB / 0.5077 GB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007479/0.2568, allocations: 3.874 MB / 0.5114 GB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02779/0.2847, allocations: 15.44 MB / 0.5265 GB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3196/0.6043, allocations: 5.932 MB / 0.5323 GB, free: 59.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.6071, allocations: 1.254 MB / 0.5335 GB, free: 59.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008642/0.6158, allocations: 4.178 MB / 0.5376 GB, free: 58.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.6159, allocations: 45.47 kB / 0.5377 GB, free: 58.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 3.597e-06/0.6159, allocations: 2.344 kB / 0.5377 GB, free: 58.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=144): time 0.0135/0.6294, allocations: 5.301 MB / 0.5428 GB, free: 57.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.6295, allocations: 66.28 kB / 0.5429 GB, free: 57.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005174/0.6347, allocations: 2.161 MB / 0.545 GB, free: 57.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.6349, allocations: 49.45 kB / 0.5451 GB, free: 57.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.6366, allocations: 1.732 MB / 0.5468 GB, free: 56.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/0.637, allocations: 0.4909 MB / 0.5472 GB, free: 56.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.6372, allocations: 45.16 kB / 0.5473 GB, free: 55.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.6373, allocations: 392.4 kB / 0.5477 GB, free: 55.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.6389, allocations: 0.7611 MB / 0.5484 GB, free: 55.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.6407, allocations: 1.534 MB / 0.5499 GB, free: 54.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/0.651, allocations: 2.725 MB / 0.5526 GB, free: 53.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.066e-05/0.6511, allocations: 7.375 kB / 0.5526 GB, free: 53.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005973/0.6571, allocations: 2.789 MB / 0.5553 GB, free: 52.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.6572, allocations: 15.75 kB / 0.5553 GB, free: 52.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/0.6572, allocations: 28.19 kB / 0.5553 GB, free: 52.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008099/0.658, allocations: 288 kB / 0.5556 GB, free: 51.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.6597, allocations: 0.4902 MB / 0.5561 GB, free: 51.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/0.6647, allocations: 3.165 MB / 0.5592 GB, free: 49.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.6672, allocations: 100.2 kB / 0.5593 GB, free: 49.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.6675, allocations: 107.2 kB / 0.5594 GB, free: 49.48 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[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (261): * Single equations (assignments): 259 * 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 {(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002442/0.6699, allocations: 1.08 MB / 0.5604 GB, free: 48.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/0.6705, allocations: 223.1 kB / 0.5606 GB, free: 48.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.6735, allocations: 1.781 MB / 0.5624 GB, free: 47.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.6735, allocations: 15.53 kB / 0.5624 GB, free: 47.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6735, allocations: 3.75 kB / 0.5624 GB, free: 47.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.6735, allocations: 11.81 kB / 0.5624 GB, free: 47.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007544/0.6811, allocations: 5.023 MB / 0.5673 GB, free: 44.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.6811, allocations: 0 / 0.5673 GB, free: 44.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6821, allocations: 254.6 kB / 0.5676 GB, free: 44.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005931/0.6827, allocations: 227.8 kB / 0.5678 GB, free: 44.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.909e-05/0.6828, allocations: 39.75 kB / 0.5678 GB, free: 44.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.6861, allocations: 3.027 MB / 0.5708 GB, free: 41.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6861, allocations: 4.656 kB / 0.5708 GB, free: 41.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004057/0.6902, allocations: 2.664 MB / 0.5734 GB, free: 38.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/0.6918, allocations: 466.3 kB / 0.5738 GB, free: 38.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.6921, allocations: 32 kB / 0.5738 GB, free: 38.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009767/0.6931, allocations: 56.64 kB / 0.5739 GB, free: 38.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/0.6934, allocations: 105.2 kB / 0.574 GB, free: 38.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.24e-05/0.6935, allocations: 36 kB / 0.574 GB, free: 38.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002632/0.6962, allocations: 1.443 MB / 0.5754 GB, free: 36.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.833e-06/0.6962, allocations: 0 / 0.5754 GB, free: 36.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003301/0.6995, allocations: 0.6449 MB / 0.5761 GB, free: 35.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,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 (125): * Single equations (assignments): 124 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004217/0.6999, allocations: 162.2 kB / 0.5762 GB, free: 35.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003335/0.7033, allocations: 2.144 MB / 0.5783 GB, free: 33.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7033, allocations: 8.125 kB / 0.5783 GB, free: 33.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.7045, allocations: 0.9423 MB / 0.5792 GB, free: 32.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.7074, allocations: 0.5577 MB / 0.5798 GB, free: 32.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.7178, allocations: 7.255 MB / 0.5869 GB, free: 24.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.7195, allocations: 2.36 MB / 0.5892 GB, free: 22.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008576/0.7204, allocations: 167.4 kB / 0.5893 GB, free: 22.29 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7204, allocations: 4 kB / 0.5893 GB, free: 22.29 MB / 366.1 MB Notification: Performance of Templates: time 0.1073/0.8277, allocations: 67.99 MB / 0.6557 GB, free: 2.406 MB / 414.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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_ShortCircuit1CalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1CalcHelperMain.o] Error 1