Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 91.86 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.001663/0.001663, allocations: 179.2 kB / 18.47 MB, free: 5.207 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.971/1.971, allocations: 205.4 MB / 224.6 MB, free: 13.05 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.0004432/0.0004432, allocations: 8 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.1004, allocations: 47.59 MB / 329 MB, free: 4.051 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.008353/0.1088, allocations: 8.626 MB / 337.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.1139, allocations: 2.959 MB / 340.6 MB, free: 8.418 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009393/0.1149, allocations: 39.81 kB / 340.6 MB, free: 8.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.1162, allocations: 0.532 MB / 341.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.118, allocations: 0.707 MB / 341.9 MB, free: 7.133 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.1186, allocations: 243.7 kB / 342.1 MB, free: 6.895 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003092/0.1217, allocations: 3.179 MB / 345.3 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.124, allocations: 1.571 MB / 346.8 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.1258, allocations: 1.027 MB / 347.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.1278, allocations: 1.381 MB / 349.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002989/0.1281, allocations: 156 kB / 349.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006302/0.1287, allocations: 223.9 kB / 349.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000754/0.1295, allocations: 0.7515 MB / 350.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000688/0.1302, allocations: 0.5549 MB / 350.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003355/0.1336, allocations: 3.771 MB / 354.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1336, allocations: 0 / 354.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1336, allocations: 4 kB / 354.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.344e-05/0.1337, allocations: 0 / 354.7 MB, free: 10.21 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.005331/0.139, allocations: 2.758 MB / 357.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1391, allocations: 8.031 kB / 357.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007304/0.1398, allocations: 324.3 kB / 357.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.1423, allocations: 1.573 MB / 359.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.1424, allocations: 168.6 kB / 359.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.1428, allocations: 235.9 kB / 359.8 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004983/0.1477, allocations: 3.177 MB / 362.9 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/0.1478, allocations: 8 kB / 362.9 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.148, allocations: 99.89 kB / 363 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.1481, allocations: 104.4 kB / 363.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004427/0.1526, allocations: 2.746 MB / 365.9 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.1669, allocations: 9.938 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.1695, allocations: 2.106 MB / 377.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.1713, allocations: 1.206 MB / 379.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/0.1716, allocations: 126.9 kB / 379.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1716, allocations: 43.56 kB / 379.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 4.378e-06/0.1716, allocations: 4 kB / 379.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.2048/0.3764, allocations: 8.047 MB / 387.4 MB, free: 49.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3765, allocations: 66.86 kB / 387.4 MB, free: 48.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/0.38, allocations: 1.667 MB / 389.1 MB, free: 48.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/0.3803, allocations: 50.42 kB / 389.1 MB, free: 48.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008844/0.3811, allocations: 1.095 MB / 390.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004762/0.3816, allocations: 481.3 kB / 390.7 MB, free: 47.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/0.3817, allocations: 30.72 kB / 390.7 MB, free: 47.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3819, allocations: 373 kB / 391.1 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.3835, allocations: 0.9137 MB / 392 MB, free: 46.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.3852, allocations: 1.272 MB / 393.3 MB, free: 45.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.3867, allocations: 1.066 MB / 394.3 MB, free: 45.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.3867, allocations: 7.281 kB / 394.4 MB, free: 45.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005292/0.392, allocations: 3.047 MB / 397.4 MB, free: 43.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.3921, allocations: 7.938 kB / 397.4 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.3921, allocations: 11.88 kB / 397.4 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/0.3938, allocations: 0.84 MB / 398.3 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.3949, allocations: 312 kB / 398.6 MB, free: 43.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008815/0.4037, allocations: 9.078 MB / 407.6 MB, free: 35.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.4056, allocations: 104 kB / 407.7 MB, free: 35.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.4057, allocations: 60 kB / 407.8 MB, free: 35.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0017/0.4074, allocations: 0.8056 MB / 408.6 MB, free: 34.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005387/0.408, allocations: 189.7 kB / 408.8 MB, free: 34.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00429/0.4123, allocations: 2.852 MB / 411.6 MB, free: 31.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4123, allocations: 16 kB / 411.7 MB, free: 31.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.4123, allocations: 18.47 kB / 411.7 MB, free: 31.4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.4124, allocations: 8.625 kB / 411.7 MB, free: 31.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009/0.4214, allocations: 5.698 MB / 417.4 MB, free: 25.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.4214, allocations: 0 / 417.4 MB, free: 25.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.4222, allocations: 199.7 kB / 417.6 MB, free: 25.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/0.4242, allocations: 0.8909 MB / 418.5 MB, free: 24.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.4243, allocations: 35.98 kB / 418.5 MB, free: 24.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009521/0.4338, allocations: 10.57 MB / 429.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4339, allocations: 4 kB / 429.1 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/0.4399, allocations: 4.163 MB / 433.2 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.4411, allocations: 466.7 kB / 433.7 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/0.4414, allocations: 35.98 kB / 433.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008273/0.4422, allocations: 91.53 kB / 433.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004245/0.4427, allocations: 141 kB / 434 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.799e-05/0.4428, allocations: 43.98 kB / 434 MB, free: 8.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001564/0.4443, allocations: 1.141 MB / 435.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4444, allocations: 4 kB / 435.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002451/0.4468, allocations: 0.5613 MB / 435.7 MB, free: 6.703 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004531/0.4473, allocations: 152.3 kB / 435.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004691/0.452, allocations: 3.006 MB / 438.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.452, allocations: 0 / 438.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0026/0.4546, allocations: 2.041 MB / 440.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.4573, allocations: 491.8 kB / 441.4 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.4678, allocations: 6.114 MB / 447.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/0.47, allocations: 1.996 MB / 449.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008052/0.4709, allocations: 119.4 kB / 449.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of SimCode: time 1.784e-06/0.4709, allocations: 0 / 449.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of Templates: time 0.3572/0.8281, allocations: 91.79 MB / 0.5287 GB, free: 137 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AsynchronousInductionMachines.AIMC_YDCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YDCalcHelperMain.o] Error 1