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.0009388/0.0009388, allocations: 92.55 kB / 17.58 MB, free: 5.754 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.001008/0.001008, allocations: 186.4 kB / 18.48 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004734/0.0004734, allocations: 8 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 47.59 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01155/0.13, allocations: 10.39 MB / 339.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008344/0.1384, allocations: 3.76 MB / 343.1 MB, free: 5.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.1403, allocations: 51.75 kB / 343.2 MB, free: 5.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.1423, allocations: 0.6993 MB / 343.9 MB, free: 5.121 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003024/0.1453, allocations: 0.8311 MB / 344.7 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1465, allocations: 343.5 kB / 345.1 MB, free: 3.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004474/0.151, allocations: 3.514 MB / 348.6 MB, free: 432 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002531/0.1536, allocations: 1.801 MB / 350.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.1562, allocations: 1.156 MB / 351.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.1587, allocations: 1.576 MB / 353.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.159, allocations: 175.9 kB / 353.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009756/0.16, allocations: 375.7 kB / 353.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009149/0.1609, allocations: 0.8683 MB / 354.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000893/0.1618, allocations: 0.6212 MB / 355.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.166, allocations: 4.27 MB / 359.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.1661, allocations: 7.938 kB / 359.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1661, allocations: 4 kB / 359.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001192/0.1662, allocations: 0 / 359.4 MB, free: 5.512 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.007354/0.1736, allocations: 3.177 MB / 362.6 MB, free: 2.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1736, allocations: 8.031 kB / 362.6 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.1751, allocations: 435.8 kB / 363 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.1784, allocations: 1.778 MB / 364.8 MB, free: 0 / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.1787, allocations: 205.4 kB / 365 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004019/0.1791, allocations: 267.9 kB / 365.3 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006341/0.1854, allocations: 3.517 MB / 368.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.908e-05/0.1855, allocations: 11.98 kB / 368.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.1857, allocations: 108 kB / 368.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.1859, allocations: 117.3 kB / 369 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005234/0.1912, allocations: 2.983 MB / 372 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2711/0.4623, allocations: 11.15 MB / 383.1 MB, free: 44.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003836/0.4662, allocations: 2.289 MB / 385.4 MB, free: 43.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/0.4686, allocations: 1.203 MB / 386.6 MB, free: 43.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/0.469, allocations: 208.5 kB / 386.8 MB, free: 43.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.469, allocations: 45.55 kB / 386.9 MB, free: 43.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.298e-06/0.469, allocations: 4.406 kB / 386.9 MB, free: 43.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01919/0.4882, allocations: 7.621 MB / 394.5 MB, free: 40.97 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.4883, allocations: 78.27 kB / 394.6 MB, free: 40.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003881/0.4922, allocations: 1.96 MB / 396.6 MB, free: 40.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002995/0.4925, allocations: 51.17 kB / 396.6 MB, free: 40.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009987/0.4935, allocations: 1.314 MB / 397.9 MB, free: 39.06 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004623/0.494, allocations: 0.5054 MB / 398.4 MB, free: 38.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.4941, allocations: 35.84 kB / 398.5 MB, free: 38.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4942, allocations: 380.8 kB / 398.8 MB, free: 38.31 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.4956, allocations: 0.8868 MB / 399.7 MB, free: 38.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.4972, allocations: 1.388 MB / 401.1 MB, free: 37.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.4988, allocations: 1.091 MB / 402.2 MB, free: 36.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.4988, allocations: 3.562 kB / 402.2 MB, free: 36.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005138/0.504, allocations: 2.998 MB / 405.2 MB, free: 34.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.504, allocations: 13.16 kB / 405.2 MB, free: 34.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.5041, allocations: 15.88 kB / 405.2 MB, free: 34.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.5051, allocations: 472 kB / 405.7 MB, free: 34.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.5065, allocations: 434.4 kB / 406.1 MB, free: 34.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/0.5117, allocations: 5.581 MB / 411.7 MB, free: 29.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.5138, allocations: 136.9 kB / 411.8 MB, free: 29.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.514, allocations: 70.25 kB / 411.9 MB, free: 29.68 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 (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.001728/0.5157, allocations: 0.8524 MB / 412.7 MB, free: 28.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005297/0.5163, allocations: 209.5 kB / 412.9 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003791/0.5201, allocations: 2.601 MB / 415.5 MB, free: 25.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/0.5201, allocations: 23.92 kB / 415.6 MB, free: 25.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.5201, allocations: 4 kB / 415.6 MB, free: 25.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.5201, allocations: 7.984 kB / 415.6 MB, free: 25.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008333/0.5285, allocations: 5.676 MB / 421.3 MB, free: 20.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.5285, allocations: 7.75 kB / 421.3 MB, free: 20.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.5296, allocations: 291.9 kB / 421.6 MB, free: 19.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.5308, allocations: 0.4916 MB / 422 MB, free: 19.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.5309, allocations: 43.91 kB / 422.1 MB, free: 19.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005885/0.5368, allocations: 7.034 MB / 429.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.5368, allocations: 7.938 kB / 429.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/0.5422, allocations: 3.875 MB / 433 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.5435, allocations: 486.3 kB / 433.5 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.5438, allocations: 39.98 kB / 433.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.5448, allocations: 107.9 kB / 433.6 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.5451, allocations: 131.9 kB / 433.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.041e-05/0.5452, allocations: 43.98 kB / 433.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002021/0.5472, allocations: 1.348 MB / 435.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5472, allocations: 0 / 435.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002574/0.5498, allocations: 0.5818 MB / 435.7 MB, free: 5.168 MB / 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 (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.0004606/0.5503, allocations: 192.7 kB / 435.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004143/0.5544, allocations: 2.612 MB / 438.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.5545, allocations: 0.875 kB / 438.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002267/0.5567, allocations: 1.628 MB / 440.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/0.5597, allocations: 478.9 kB / 440.6 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.5721, allocations: 6.723 MB / 447.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/0.5742, allocations: 2.101 MB / 449.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009283/0.5752, allocations: 151.4 kB / 449.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5752, allocations: 3.938 kB / 449.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of Templates: time 0.09802/0.6732, allocations: 74.77 MB / 0.5121 GB, free: 12.19 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++ 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_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