Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009577/0.0009575, allocations: 92.2 kB / 17.63 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 194.5 kB / 18.53 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.671/1.671, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 4 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 51.5 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01221/0.1591, allocations: 8.612 MB / 367.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007874/0.1671, allocations: 2.9 MB / 370.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.1691, allocations: 43.81 kB / 370.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.1709, allocations: 0.5048 MB / 370.9 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.1734, allocations: 0.6369 MB / 371.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008782/0.1743, allocations: 247.6 kB / 371.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3165/0.4908, allocations: 2.463 MB / 374.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003082/0.4939, allocations: 1.223 MB / 375.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.4969, allocations: 0.8395 MB / 376.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003251/0.5002, allocations: 1.088 MB / 377.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007215/0.501, allocations: 123.3 kB / 377.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.5023, allocations: 201.1 kB / 377.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.5034, allocations: 0.5885 MB / 378.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.5046, allocations: 461.8 kB / 378.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00605/0.5107, allocations: 2.916 MB / 381.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.5107, allocations: 4 kB / 381.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.5108, allocations: 0 / 381.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001991/0.511, allocations: 0 / 381.6 MB, free: 9.352 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.008018/0.519, allocations: 2.214 MB / 383.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.233e-05/0.5191, allocations: 13.09 kB / 383.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.5213, allocations: 273.7 kB / 384.1 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004073/0.5254, allocations: 1.28 MB / 385.4 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.5256, allocations: 140 kB / 385.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005592/0.5262, allocations: 193.4 kB / 385.7 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006378/0.5326, allocations: 2.408 MB / 388.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.153e-05/0.5327, allocations: 2.25 kB / 388.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.5329, allocations: 78.75 kB / 388.2 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/0.5331, allocations: 91.33 kB / 388.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004609/0.5377, allocations: 1.953 MB / 390.3 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.5523, allocations: 7.896 MB / 398.2 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.554, allocations: 1.239 MB / 399.4 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.5555, allocations: 0.9544 MB / 400.3 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.5557, allocations: 117 kB / 400.5 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.5557, allocations: 43.31 kB / 400.5 MB, free: 112 kB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 1.86e-05/0.5558, allocations: 0 / 400.5 MB, free: 112 kB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01352/0.5693, allocations: 5.927 MB / 406.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.5694, allocations: 64.39 kB / 406.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.5716, allocations: 1.298 MB / 407.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.5717, allocations: 41.7 kB / 407.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007927/0.5725, allocations: 0.9205 MB / 408.8 MB, free: 8.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.5729, allocations: 391.5 kB / 409.1 MB, free: 8.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.573, allocations: 28 kB / 409.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.5732, allocations: 361.9 kB / 409.5 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.5742, allocations: 0.6387 MB / 410.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.5755, allocations: 0.9964 MB / 411.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.5768, allocations: 0.7799 MB / 411.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.5768, allocations: 7.984 kB / 411.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003957/0.5808, allocations: 2.244 MB / 414.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.5808, allocations: 8.75 kB / 414.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.5808, allocations: 12.31 kB / 414.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.582, allocations: 499.9 kB / 414.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.5831, allocations: 307.5 kB / 415 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008402/0.5915, allocations: 6.54 MB / 421.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.5939, allocations: 83.83 kB / 421.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.594, allocations: 56.12 kB / 421.7 MB, free: 10.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001654/0.5957, allocations: 0.6105 MB / 422.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004444/0.5962, allocations: 146.2 kB / 422.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/0.6007, allocations: 1.965 MB / 424.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.6007, allocations: 8 kB / 424.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.6007, allocations: 10.3 kB / 424.4 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.6007, allocations: 3.984 kB / 424.4 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00928/0.61, allocations: 4.138 MB / 428.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/0.6101, allocations: 6.406 kB / 428.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008096/0.6109, allocations: 179.8 kB / 428.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.6128, allocations: 0.5428 MB / 429.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.6129, allocations: 31.98 kB / 429.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.6232, allocations: 8.032 MB / 437.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6232, allocations: 0 / 437.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005445/0.6287, allocations: 2.848 MB / 440.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.63, allocations: 355.1 kB / 440.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.6302, allocations: 31.98 kB / 440.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007852/0.631, allocations: 71.92 kB / 440.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.6313, allocations: 92.91 kB / 440.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/0.6314, allocations: 32.05 kB / 440.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00181/0.6332, allocations: 0.8801 MB / 441.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6332, allocations: 2.188 kB / 441.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002121/0.6353, allocations: 444.1 kB / 442.1 MB, free: 5.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003838/0.6357, allocations: 151.1 kB / 442.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003927/0.6396, allocations: 2.221 MB / 444.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6397, allocations: 4 kB / 444.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.6421, allocations: 1.511 MB / 445.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.6445, allocations: 410 kB / 446.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008632/0.6532, allocations: 4.973 MB / 451.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.6547, allocations: 1.634 MB / 453 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005749/0.6553, allocations: 107.4 kB / 453.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.943e-06/0.6553, allocations: 0 / 453.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Templates: time 0.09277/0.7481, allocations: 70.47 MB / 0.5113 GB, free: 4.074 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_SteinmetzCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_SteinmetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_SteinmetzCalcHelperMain.o] Error 1