Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001524/0.001524, allocations: 190 kB / 18.72 MB, free: 4.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.1 MB / 224.6 MB, free: 12.4 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 51.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1581, allocations: 46.63 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01975/0.1779, allocations: 11.65 MB / 338.9 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01279/0.1909, allocations: 3.941 MB / 342.8 MB, free: 5.215 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004204/0.1952, allocations: 51.75 kB / 342.9 MB, free: 5.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004427/0.1997, allocations: 0.7499 MB / 343.6 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006206/0.206, allocations: 0.8897 MB / 344.5 MB, free: 3.512 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.2091, allocations: 475.5 kB / 345 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00873/0.2178, allocations: 3.873 MB / 348.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006069/0.2239, allocations: 2.232 MB / 351.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004702/0.2287, allocations: 1.331 MB / 352.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005351/0.2341, allocations: 1.86 MB / 354.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002172/0.2363, allocations: 248 kB / 354.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.2395, allocations: 0.4956 MB / 355 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002774/0.2424, allocations: 0.989 MB / 356 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005123/0.2475, allocations: 1.667 MB / 357.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006792/0.2543, allocations: 4.392 MB / 362.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2544, allocations: 0 / 362.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2544, allocations: 0 / 362.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002361/0.2547, allocations: 0 / 362.1 MB, free: 1.855 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.01281/0.2675, allocations: 3.707 MB / 365.8 MB, free: 14.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.387e-05/0.2676, allocations: 12.03 kB / 365.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.2693, allocations: 432.7 kB / 366.2 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.2731, allocations: 1.833 MB / 368.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.2733, allocations: 217.2 kB / 368.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004074/0.2737, allocations: 260 kB / 368.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00758/0.2813, allocations: 3.521 MB / 372 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-05/0.2814, allocations: 11.84 kB / 372.1 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/0.2817, allocations: 112 kB / 372.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.2819, allocations: 121.2 kB / 372.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006079/0.288, allocations: 2.968 MB / 375.3 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3831/0.6711, allocations: 11.09 MB / 386.3 MB, free: 45.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005496/0.6766, allocations: 2.28 MB / 388.6 MB, free: 44.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003915/0.6806, allocations: 1.187 MB / 389.8 MB, free: 43.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004392/0.6811, allocations: 204.1 kB / 390 MB, free: 43.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.6812, allocations: 50.78 kB / 390.1 MB, free: 43.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.057e-06/0.6812, allocations: 0 / 390.1 MB, free: 43.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.02145/0.7026, allocations: 7.484 MB / 397.5 MB, free: 40.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.7028, allocations: 68.09 kB / 397.6 MB, free: 40.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/0.7073, allocations: 1.98 MB / 399.6 MB, free: 39.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004827/0.7078, allocations: 53.67 kB / 399.6 MB, free: 39.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.7091, allocations: 1.313 MB / 401 MB, free: 38.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007483/0.7098, allocations: 0.5022 MB / 401.5 MB, free: 37.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006698/0.7105, allocations: 323 kB / 401.8 MB, free: 37.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7107, allocations: 304.2 kB / 402.1 MB, free: 37.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/0.7125, allocations: 0.8816 MB / 403 MB, free: 36.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.7144, allocations: 1.376 MB / 404.3 MB, free: 35.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/0.718, allocations: 2.384 MB / 406.7 MB, free: 34.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.278e-05/0.718, allocations: 3.625 kB / 406.7 MB, free: 34.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005496/0.7235, allocations: 2.977 MB / 409.7 MB, free: 31.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.7236, allocations: 20.61 kB / 409.7 MB, free: 31.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/0.7236, allocations: 12 kB / 409.7 MB, free: 31.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.725, allocations: 457.1 kB / 410.2 MB, free: 31.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.7267, allocations: 431.3 kB / 410.6 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006763/0.7334, allocations: 5.6 MB / 416.2 MB, free: 24.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/0.7363, allocations: 127.8 kB / 416.3 MB, free: 24.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.7365, allocations: 75.98 kB / 416.4 MB, free: 24.79 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002295/0.7388, allocations: 0.8408 MB / 417.2 MB, free: 23.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008262/0.7396, allocations: 214.6 kB / 417.4 MB, free: 23.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004563/0.7442, allocations: 2.595 MB / 420 MB, free: 21.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-05/0.7443, allocations: 16 kB / 420.1 MB, free: 21.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.7443, allocations: 4 kB / 420.1 MB, free: 21.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.7443, allocations: 7.969 kB / 420.1 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.7543, allocations: 5.638 MB / 425.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.7544, allocations: 4 kB / 425.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.7555, allocations: 284.1 kB / 426 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.7569, allocations: 0.4905 MB / 426.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.7571, allocations: 51.67 kB / 426.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007759/0.7648, allocations: 7.03 MB / 433.6 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.7649, allocations: 11.94 kB / 433.6 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007859/0.7727, allocations: 3.844 MB / 437.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/0.7748, allocations: 482.4 kB / 437.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/0.7759, allocations: 35.98 kB / 437.9 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/0.7779, allocations: 95.89 kB / 438 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004454/0.7784, allocations: 125 kB / 438.1 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.7785, allocations: 46.52 kB / 438.2 MB, free: 2.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003945/0.7825, allocations: 1.363 MB / 439.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7825, allocations: 0 / 439.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00412/0.7866, allocations: 0.5857 MB / 440.1 MB, free: 376 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007821/0.7875, allocations: 227.4 kB / 440.3 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006872/0.7943, allocations: 2.593 MB / 442.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/0.7944, allocations: 4 kB / 442.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003909/0.7983, allocations: 1.611 MB / 444.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005056/0.8034, allocations: 471.2 kB / 445 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/0.8212, allocations: 6.903 MB / 451.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002796/0.824, allocations: 2.103 MB / 454 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/0.8252, allocations: 151.4 kB / 454.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of SimCode: time 2.505e-06/0.8252, allocations: 0 / 454.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of Templates: time 0.1224/0.9476, allocations: 75.17 MB / 0.5169 GB, free: 6.832 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOLCalcHelperMain.o] Error 1