Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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/Complex 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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008427/0.0008427, allocations: 99.11 kB / 16.96 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008965/0.0008967, allocations: 179.8 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.3 MB / 241.9 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 8 kB / 301.4 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1542, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.0131/0.1674, allocations: 10.45 MB / 362.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009538/0.177, allocations: 3.704 MB / 366 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.1795, allocations: 55.75 kB / 366.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.1823, allocations: 0.6992 MB / 366.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004323/0.1867, allocations: 0.8351 MB / 367.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.1884, allocations: 339.5 kB / 367.9 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007001/0.1954, allocations: 3.487 MB / 371.4 MB, free: 364 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3366/0.532, allocations: 1.838 MB / 373.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004624/0.5367, allocations: 1.147 MB / 374.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00553/0.5423, allocations: 1.581 MB / 376 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008164/0.5432, allocations: 170.5 kB / 376.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.545, allocations: 366.7 kB / 376.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001836/0.5468, allocations: 0.8592 MB / 377.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.5483, allocations: 0.6235 MB / 378 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008065/0.5564, allocations: 4.271 MB / 382.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5564, allocations: 1.156 kB / 382.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5565, allocations: 0 / 382.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002013/0.5567, allocations: 0 / 382.3 MB, free: 9.848 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01388/0.5706, allocations: 3.188 MB / 385.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/0.5706, allocations: 8.875 kB / 385.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.5747, allocations: 437.7 kB / 385.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00821/0.5829, allocations: 1.847 MB / 387.7 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003843/0.5834, allocations: 215.5 kB / 388 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.5847, allocations: 264.7 kB / 388.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.5965, allocations: 3.52 MB / 391.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.5967, allocations: 10.5 kB / 391.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005467/0.5972, allocations: 117 kB / 391.9 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002584/0.5975, allocations: 125.5 kB / 392 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007758/0.6053, allocations: 2.982 MB / 395 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02356/0.6288, allocations: 11.15 MB / 406.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003361/0.6323, allocations: 2.295 MB / 408.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.6346, allocations: 1.196 MB / 409.6 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/0.635, allocations: 210.2 kB / 409.8 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.6351, allocations: 51.25 kB / 409.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.418e-06/0.6351, allocations: 0 / 409.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01798/0.6531, allocations: 7.644 MB / 417.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.6532, allocations: 64.72 kB / 417.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004758/0.658, allocations: 1.964 MB / 419.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.6582, allocations: 49.7 kB / 419.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.6595, allocations: 1.308 MB / 420.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006452/0.6601, allocations: 0.5057 MB / 421.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.6603, allocations: 36 kB / 421.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.6605, allocations: 381.9 kB / 421.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.6621, allocations: 0.894 MB / 422.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.6641, allocations: 1.382 MB / 424.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.6663, allocations: 1.103 MB / 425.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/0.6663, allocations: 7.938 kB / 425.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006266/0.6726, allocations: 2.989 MB / 428.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.6727, allocations: 12 kB / 428.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/0.6727, allocations: 16 kB / 428.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.674, allocations: 468 kB / 428.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.6756, allocations: 442.2 kB / 429.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007796/0.6834, allocations: 5.6 MB / 434.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/0.6861, allocations: 127.8 kB / 434.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/0.6865, allocations: 71.98 kB / 434.9 MB, free: 15.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (199): * Single equations (assignments): 194 * Array equations: 2 * 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 {(3,100.0%) 16,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002877/0.6894, allocations: 0.8486 MB / 435.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.6904, allocations: 213.4 kB / 435.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005988/0.6964, allocations: 2.614 MB / 438.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.495e-05/0.6965, allocations: 16 kB / 438.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/0.6965, allocations: 4 kB / 438.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.34e-05/0.6965, allocations: 7.969 kB / 438.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.7106, allocations: 5.671 MB / 444.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.7107, allocations: 4.406 kB / 444.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.712, allocations: 295.6 kB / 444.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.7134, allocations: 0.4928 MB / 445 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/0.7136, allocations: 35.98 kB / 445.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008911/0.7225, allocations: 7.037 MB / 452.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.7226, allocations: 7.938 kB / 452.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007947/0.7305, allocations: 3.874 MB / 456 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/0.7327, allocations: 490.4 kB / 456.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009008/0.7337, allocations: 39.94 kB / 456.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/0.7354, allocations: 103.9 kB / 456.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003675/0.7358, allocations: 117.1 kB / 456.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.736, allocations: 51.48 kB / 456.8 MB, free: 8.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003437/0.7394, allocations: 1.344 MB / 458.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7394, allocations: 4 kB / 458.1 MB, free: 7.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003654/0.7431, allocations: 0.5859 MB / 458.7 MB, free: 6.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.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 (125): * Single equations (assignments): 120 * Array equations: 2 * 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 {(3,100.0%) 16,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006575/0.7438, allocations: 194 kB / 458.9 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00522/0.749, allocations: 2.615 MB / 461.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.749, allocations: 0 / 461.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003222/0.7523, allocations: 1.619 MB / 463.1 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/0.7566, allocations: 483.5 kB / 463.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.7713, allocations: 6.714 MB / 470.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002183/0.7735, allocations: 2.104 MB / 472.4 MB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.7746, allocations: 147.4 kB / 472.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7746, allocations: 0 / 472.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of Templates: time 0.4192/1.194, allocations: 74.78 MB / 0.5345 GB, free: 142.4 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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 OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOLCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOLCalcHelperMain.o] Error 1