Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009954/0.0009954, allocations: 95.47 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.001618/0.001618, allocations: 197.9 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.72/1.72, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002879, allocations: 8 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01096/0.1868, allocations: 7.91 MB / 366.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008438/0.1953, allocations: 2.744 MB / 369.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.1978, allocations: 35.88 kB / 369.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002258/0.2, allocations: 0.4971 MB / 370 MB, free: 2.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.2038, allocations: 0.6332 MB / 370.6 MB, free: 2.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.2052, allocations: 195.7 kB / 370.8 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3778/0.583, allocations: 2.448 MB / 373.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.5857, allocations: 1.228 MB / 374.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.5883, allocations: 0.8157 MB / 375.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.5913, allocations: 1.123 MB / 376.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004279/0.5917, allocations: 121 kB / 376.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.5927, allocations: 196.9 kB / 376.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.5938, allocations: 0.6146 MB / 377.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008898/0.5947, allocations: 448 kB / 377.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006403/0.6011, allocations: 2.97 MB / 380.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.6011, allocations: 0 / 380.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.6012, allocations: 4 kB / 380.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002229/0.6014, allocations: 1.031 kB / 380.8 MB, free: 9.438 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00951/0.6109, allocations: 2.229 MB / 383 MB, free: 8.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.348e-05/0.611, allocations: 9 kB / 383 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.6134, allocations: 301.3 kB / 383.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/0.6174, allocations: 1.31 MB / 384.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.6176, allocations: 139.9 kB / 384.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004814/0.6181, allocations: 183.6 kB / 384.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006784/0.6249, allocations: 2.403 MB / 387.3 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.839e-05/0.625, allocations: 7.219 kB / 387.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.6252, allocations: 74.75 kB / 387.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001778/0.6254, allocations: 88.31 kB / 387.5 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005688/0.6311, allocations: 2.019 MB / 389.5 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.6513, allocations: 7.494 MB / 397 MB, free: 2.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.6537, allocations: 1.286 MB / 398.3 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.6556, allocations: 0.9198 MB / 399.2 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/0.656, allocations: 122.8 kB / 399.3 MB, free: 0.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.207e-05/0.6561, allocations: 40.62 kB / 399.4 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 6.021e-06/0.6561, allocations: 4 kB / 399.4 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.01266/0.6688, allocations: 4.913 MB / 404.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.6689, allocations: 68.34 kB / 404.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/0.6722, allocations: 1.377 MB / 405.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.6723, allocations: 41.7 kB / 405.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.6733, allocations: 0.8929 MB / 406.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005092/0.6739, allocations: 354.7 kB / 407 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.674, allocations: 28 kB / 407 MB, free: 10.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.6743, allocations: 349.9 kB / 407.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.6755, allocations: 0.6355 MB / 408 MB, free: 9.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.677, allocations: 0.9337 MB / 408.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.6784, allocations: 0.7681 MB / 409.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.6784, allocations: 0 / 409.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004653/0.6831, allocations: 2.394 MB / 412.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.6832, allocations: 8 kB / 412.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.6832, allocations: 13.58 kB / 412.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.6852, allocations: 0.7168 MB / 412.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009803/0.6862, allocations: 239.6 kB / 413.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.6974, allocations: 8.002 MB / 421.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.699, allocations: 87.81 kB / 421.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/0.6992, allocations: 44 kB / 421.2 MB, free: 11.53 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001735/0.701, allocations: 0.6302 MB / 421.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000605/0.7016, allocations: 146.2 kB / 422 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.7055, allocations: 1.901 MB / 423.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.7055, allocations: 12 kB / 423.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.7055, allocations: 9.531 kB / 423.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.7055, allocations: 4.109 kB / 423.9 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007871/0.7134, allocations: 4.036 MB / 427.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7134, allocations: 0 / 427.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007929/0.7142, allocations: 188 kB / 428.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.7154, allocations: 458.9 kB / 428.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.7155, allocations: 27.98 kB / 428.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006335/0.7218, allocations: 6.149 MB / 434.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.7219, allocations: 4.062 kB / 434.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/0.7265, allocations: 2.791 MB / 437.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009819/0.7275, allocations: 367.2 kB / 437.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.7277, allocations: 20 kB / 437.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/0.7285, allocations: 75.92 kB / 438 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.7287, allocations: 80.88 kB / 438.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/0.7288, allocations: 31.98 kB / 438.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.7304, allocations: 0.9389 MB / 439 MB, free: 9.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.7304, allocations: 0 / 439 MB, free: 9.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001765/0.7321, allocations: 445.8 kB / 439.5 MB, free: 8.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004068/0.7326, allocations: 147.5 kB / 439.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004556/0.7371, allocations: 2.005 MB / 441.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.7372, allocations: 0.5 kB / 441.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.7392, allocations: 1.353 MB / 443 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.7415, allocations: 370.5 kB / 443.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007708/0.7492, allocations: 4.81 MB / 448.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/0.7507, allocations: 1.673 MB / 449.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.7513, allocations: 103.4 kB / 449.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of SimCode: time 1.452e-06/0.7513, allocations: 0 / 449.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Templates: time 0.06915/0.8205, allocations: 52.38 MB / 0.4905 GB, free: 9.699 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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_InitializeCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InitializeCalcHelperMain.o] Error 1