Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008402/0.0008403, allocations: 88.36 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009779/0.0009781, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002547, allocations: 4 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1343, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01346/0.1479, allocations: 10.51 MB / 369.3 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3244/0.4723, allocations: 3.604 MB / 372.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003294/0.4757, allocations: 66.22 kB / 373 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003519/0.4792, allocations: 0.6896 MB / 373.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005226/0.4844, allocations: 0.9423 MB / 374.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.4862, allocations: 309.3 kB / 374.9 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01146/0.4976, allocations: 4.368 MB / 379.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005611/0.5033, allocations: 2.268 MB / 381.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005421/0.5087, allocations: 1.419 MB / 383 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006665/0.5154, allocations: 1.904 MB / 384.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001725/0.5172, allocations: 216 kB / 385.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.5202, allocations: 290.3 kB / 385.4 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00222/0.5225, allocations: 1.049 MB / 386.4 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003025/0.5255, allocations: 0.7481 MB / 387.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008221/0.5338, allocations: 5.289 MB / 392.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.5338, allocations: 0 / 392.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.5338, allocations: 1.25 kB / 392.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002959/0.5341, allocations: 0 / 392.4 MB, free: 4.684 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.01671/0.5508, allocations: 3.7 MB / 396.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.291e-05/0.5509, allocations: 9.875 kB / 396.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004721/0.5556, allocations: 477.8 kB / 396.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009629/0.5653, allocations: 2.253 MB / 398.9 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004549/0.5658, allocations: 235.6 kB / 399.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002475/0.5683, allocations: 304.6 kB / 399.4 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.5862, allocations: 4.365 MB / 403.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.5864, allocations: 4 kB / 403.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004473/0.5869, allocations: 131.4 kB / 403.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001806/0.587, allocations: 133.9 kB / 404 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009919/0.597, allocations: 3.767 MB / 407.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02701/0.624, allocations: 13.59 MB / 421.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003533/0.6276, allocations: 2.906 MB / 424.3 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00272/0.6303, allocations: 1.69 MB / 426 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/0.6307, allocations: 137.9 kB / 426.1 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.6307, allocations: 51.88 kB / 426.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.647e-06/0.6308, allocations: 0 / 426.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.01919/0.65, allocations: 9.052 MB / 435.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.6501, allocations: 73.41 kB / 435.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004357/0.6544, allocations: 2.338 MB / 437.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002711/0.6547, allocations: 57.7 kB / 437.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.6559, allocations: 1.475 MB / 439.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006626/0.6566, allocations: 0.602 MB / 439.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.6567, allocations: 40 kB / 439.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.6569, allocations: 381.9 kB / 440.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.6588, allocations: 1.128 MB / 441.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.6608, allocations: 1.578 MB / 442.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.6628, allocations: 1.334 MB / 444.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.6629, allocations: 4 kB / 444.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006529/0.6694, allocations: 3.589 MB / 447.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.6695, allocations: 15.95 kB / 447.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.6695, allocations: 16 kB / 447.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.6716, allocations: 0.8068 MB / 448.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.6733, allocations: 459.3 kB / 449.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.6843, allocations: 10.29 MB / 459.4 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.6877, allocations: 135.9 kB / 459.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/0.6881, allocations: 79.98 kB / 459.6 MB, free: 4.102 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.003223/0.6913, allocations: 1.087 MB / 460.7 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009171/0.6922, allocations: 241.1 kB / 460.9 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00691/0.6991, allocations: 3.316 MB / 464.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/0.6992, allocations: 24 kB / 464.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.6993, allocations: 4 kB / 464.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/0.6993, allocations: 11.97 kB / 464.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.717, allocations: 6.895 MB / 471.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.7171, allocations: 0 / 471.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.7184, allocations: 299.6 kB / 471.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.7211, allocations: 0.9197 MB / 472.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.7213, allocations: 46.28 kB / 472.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.7369, allocations: 13.45 MB / 485.9 MB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.737, allocations: 0 / 485.9 MB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/0.7479, allocations: 4.876 MB / 490.8 MB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/0.7501, allocations: 0.5721 MB / 491.3 MB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004178/0.7506, allocations: 39.95 kB / 491.4 MB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.7519, allocations: 131.9 kB / 491.5 MB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000459/0.7523, allocations: 153.8 kB / 491.6 MB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.7525, allocations: 44 kB / 491.7 MB, free: 2.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003169/0.7557, allocations: 1.617 MB / 493.3 MB, free: 1.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7557, allocations: 4 kB / 493.3 MB, free: 1.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003446/0.7591, allocations: 0.707 MB / 494 MB, free: 0.5039 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.0005904/0.7597, allocations: 171.6 kB / 494.2 MB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006228/0.766, allocations: 3.59 MB / 497.8 MB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.766, allocations: 0 / 497.8 MB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004155/0.7702, allocations: 2.515 MB / 0.4886 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/0.7745, allocations: 0.6962 MB / 0.4892 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.7893, allocations: 7.983 MB / 0.497 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002535/0.7919, allocations: 2.478 MB / 0.4995 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/0.793, allocations: 167.4 kB / 0.4996 GB, free: 14.64 MB / 430.1 MB Notification: Performance of SimCode: time 3.316e-06/0.793, allocations: 0 / 0.4996 GB, free: 14.64 MB / 430.1 MB Notification: Performance of Templates: time 0.4546/1.248, allocations: 167.4 MB / 0.6631 GB, free: 25.68 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_StartCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_StartCalcHelperMain.o] Error 1