Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.001909/0.001909, allocations: 181.5 kB / 17.84 MB, free: 5.617 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.68/1.68, allocations: 223.2 MB / 241.8 MB, free: 360 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 9.125 kB / 301.5 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 50.42 MB / 351.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01553/0.1705, allocations: 10.45 MB / 362.3 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.181, allocations: 3.55 MB / 365.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.1842, allocations: 63.69 kB / 365.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003125/0.1874, allocations: 0.6873 MB / 366.6 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005458/0.1929, allocations: 0.9324 MB / 367.6 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.1947, allocations: 303.5 kB / 367.9 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3789/0.5736, allocations: 4.365 MB / 372.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005324/0.579, allocations: 2.276 MB / 374.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.5836, allocations: 1.408 MB / 375.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005887/0.5895, allocations: 1.907 MB / 377.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001913/0.5915, allocations: 210.3 kB / 378 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.5942, allocations: 278 kB / 378.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.5968, allocations: 1.049 MB / 379.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003383/0.6002, allocations: 0.749 MB / 380.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.6115, allocations: 5.273 MB / 385.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.6116, allocations: 4 kB / 385.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.6116, allocations: 0 / 385.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003604/0.612, allocations: 0 / 385.4 MB, free: 8.527 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.0166/0.6286, allocations: 3.69 MB / 389 MB, free: 6.414 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.501e-05/0.6287, allocations: 9.094 kB / 389.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.6332, allocations: 438.7 kB / 389.5 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008985/0.6422, allocations: 2.253 MB / 391.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004279/0.6427, allocations: 229 kB / 392 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/0.6451, allocations: 305.4 kB / 392.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.6621, allocations: 4.36 MB / 396.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/0.6623, allocations: 10.75 kB / 396.6 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007576/0.6631, allocations: 126.3 kB / 396.8 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/0.6633, allocations: 130.5 kB / 396.9 MB, free: 4.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.6737, allocations: 3.775 MB / 400.7 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04261/0.7163, allocations: 13.59 MB / 414.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006022/0.7224, allocations: 2.896 MB / 417.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004268/0.7267, allocations: 1.702 MB / 418.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005151/0.7273, allocations: 130.4 kB / 419 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.483e-05/0.7274, allocations: 51.88 kB / 419 MB, free: 15.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 4.969e-06/0.7274, allocations: 0 / 419 MB, free: 15.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02623/0.7537, allocations: 9.051 MB / 428.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.7538, allocations: 81.3 kB / 428.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007551/0.7614, allocations: 2.336 MB / 430.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006962/0.7621, allocations: 53.7 kB / 430.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/0.7642, allocations: 1.469 MB / 432 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/0.7656, allocations: 0.6055 MB / 432.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.7661, allocations: 40 kB / 432.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003271/0.7664, allocations: 381.9 kB / 433 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.769, allocations: 1.124 MB / 434.2 MB, free: 396 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.7719, allocations: 1.578 MB / 435.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/0.7745, allocations: 1.333 MB / 437.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/0.7746, allocations: 4 kB / 437.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007709/0.7823, allocations: 3.595 MB / 440.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.7824, allocations: 8.5 kB / 440.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/0.7824, allocations: 12 kB / 440.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/0.7846, allocations: 0.813 MB / 441.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.7867, allocations: 463.3 kB / 441.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.798, allocations: 10.28 MB / 452.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003413/0.8015, allocations: 123.9 kB / 452.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006714/0.8022, allocations: 79.98 kB / 452.4 MB, free: 13.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003935/0.8062, allocations: 1.095 MB / 453.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/0.8074, allocations: 245 kB / 453.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008439/0.8159, allocations: 3.313 MB / 457.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.8159, allocations: 20 kB / 457.1 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.517e-05/0.816, allocations: 8 kB / 457.1 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.816, allocations: 7.969 kB / 457.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02205/0.8381, allocations: 6.879 MB / 464 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/0.8382, allocations: 12.17 kB / 464 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/0.8401, allocations: 299.6 kB / 464.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/0.8433, allocations: 0.9172 MB / 465.2 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004644/0.8438, allocations: 39.98 kB / 465.2 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.8614, allocations: 13.47 MB / 478.7 MB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.8614, allocations: 7.969 kB / 478.7 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/0.8741, allocations: 4.874 MB / 483.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/0.8768, allocations: 0.5682 MB / 484.2 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001463/0.8783, allocations: 36 kB / 484.2 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/0.8807, allocations: 135.9 kB / 484.3 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006405/0.8814, allocations: 153.7 kB / 484.5 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002556/0.8817, allocations: 47.98 kB / 484.5 MB, free: 11.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004693/0.8864, allocations: 1.613 MB / 486.1 MB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.8864, allocations: 2.297 kB / 486.1 MB, free: 10.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005307/0.8917, allocations: 0.7031 MB / 486.8 MB, free: 9.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008321/0.8926, allocations: 178.8 kB / 487 MB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007824/0.9004, allocations: 3.588 MB / 490.6 MB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.9005, allocations: 0 / 490.6 MB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004855/0.9054, allocations: 2.503 MB / 493.1 MB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006273/0.9117, allocations: 0.6981 MB / 493.8 MB, free: 2.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.9322, allocations: 7.962 MB / 0.49 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004236/0.9365, allocations: 2.477 MB / 0.4924 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.9377, allocations: 167.4 kB / 0.4926 GB, free: 7.781 MB / 414.1 MB Notification: Performance of SimCode: time 1.633e-06/0.9377, allocations: 4 kB / 0.4926 GB, free: 7.777 MB / 414.1 MB Notification: Performance of Templates: time 0.4489/1.387, allocations: 167.1 MB / 0.6557 GB, free: 29.13 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.InductionMachines.IMS_StartCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_StartCalcHelperMain.o] Error 1