Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 92.62 kB / 16.95 MB, free: 5.949 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.00141/0.00141, allocations: 177.7 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.655/1.655, allocations: 223.2 MB / 241.8 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.000401, allocations: 8 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1623, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01128/0.1736, allocations: 9.002 MB / 360.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008613/0.1823, allocations: 3.039 MB / 363.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.185, allocations: 55.69 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.1878, allocations: 0.5513 MB / 364.5 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.1923, allocations: 0.7186 MB / 365.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.1938, allocations: 263.6 kB / 365.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006218/0.2, allocations: 3.028 MB / 368.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003108/0.2032, allocations: 1.647 MB / 370.2 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.2061, allocations: 1.008 MB / 371.2 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.342/0.5481, allocations: 1.373 MB / 372.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.5494, allocations: 148.4 kB / 372.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.5511, allocations: 223.1 kB / 372.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.5524, allocations: 0.766 MB / 373.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.5539, allocations: 0.55 MB / 374.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007338/0.5613, allocations: 3.736 MB / 378 MB, free: 10.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.5613, allocations: 4.406 kB / 378 MB, free: 10.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.56e-06/0.5613, allocations: 2.781 kB / 378 MB, free: 10.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002334/0.5616, allocations: 2.188 kB / 378 MB, free: 10.94 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.01064/0.5722, allocations: 2.795 MB / 380.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.605e-05/0.5723, allocations: 9.688 kB / 380.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/0.575, allocations: 329.8 kB / 381.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005365/0.5804, allocations: 1.639 MB / 382.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.5808, allocations: 186.1 kB / 382.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.582, allocations: 232.7 kB / 383.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009764/0.5918, allocations: 3.138 MB / 386.3 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-05/0.5919, allocations: 11.69 kB / 386.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/0.5922, allocations: 92.94 kB / 386.4 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001952/0.5924, allocations: 109.7 kB / 386.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00719/0.5996, allocations: 2.704 MB / 389.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02242/0.6221, allocations: 9.783 MB / 399 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.6247, allocations: 2.173 MB / 401.2 MB, free: 324 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.6267, allocations: 1.137 MB / 402.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004182/0.6272, allocations: 202.5 kB / 402.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.6273, allocations: 47.62 kB / 402.5 MB, free: 15.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.958e-06/0.6273, allocations: 0 / 402.5 MB, free: 15.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01984/0.6471, allocations: 6.942 MB / 409.5 MB, free: 9.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.6473, allocations: 68.72 kB / 409.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/0.6515, allocations: 1.728 MB / 411.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005011/0.652, allocations: 53.7 kB / 411.3 MB, free: 7.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.6535, allocations: 1.15 MB / 412.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007487/0.6543, allocations: 460.5 kB / 412.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/0.6544, allocations: 28 kB / 413 MB, free: 5.574 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003408/0.6547, allocations: 369.9 kB / 413.3 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.6564, allocations: 0.8051 MB / 414.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/0.6585, allocations: 1.207 MB / 415.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.6606, allocations: 0.9816 MB / 416.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6606, allocations: 0 / 416.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005665/0.6663, allocations: 2.687 MB / 419 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.6663, allocations: 15.95 kB / 419 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/0.6664, allocations: 13.86 kB / 419 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.6675, allocations: 419.2 kB / 419.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.6692, allocations: 363.9 kB / 419.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009531/0.6787, allocations: 6.475 MB / 426.3 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.681, allocations: 117.9 kB / 426.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003174/0.6813, allocations: 63.98 kB / 426.4 MB, free: 7.629 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002155/0.6835, allocations: 0.7997 MB / 427.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005968/0.6841, allocations: 185.8 kB / 427.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004809/0.6889, allocations: 2.399 MB / 429.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.689, allocations: 16 kB / 429.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.689, allocations: 4 kB / 429.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.689, allocations: 7.938 kB / 429.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.6992, allocations: 5.148 MB / 435 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.6992, allocations: 4 kB / 435 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.7003, allocations: 242.2 kB / 435.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.7015, allocations: 455.1 kB / 435.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.7016, allocations: 31.98 kB / 435.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.7118, allocations: 7.941 MB / 443.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7118, allocations: 4 kB / 443.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007121/0.719, allocations: 3.546 MB / 447.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/0.7206, allocations: 434.7 kB / 447.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/0.721, allocations: 39.98 kB / 447.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.722, allocations: 91.86 kB / 447.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/0.7224, allocations: 119.6 kB / 447.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.7225, allocations: 44.11 kB / 447.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002544/0.725, allocations: 1.183 MB / 449.1 MB, free: 328 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.725, allocations: 0 / 449.1 MB, free: 328 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002786/0.7278, allocations: 0.5107 MB / 449.6 MB, free: 15.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004668/0.7283, allocations: 167.9 kB / 449.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005155/0.7335, allocations: 2.475 MB / 452.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.7335, allocations: 0 / 452.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003105/0.7367, allocations: 1.618 MB / 453.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/0.741, allocations: 462.1 kB / 454.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.7589, allocations: 5.969 MB / 460.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002873/0.7619, allocations: 1.961 MB / 462.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.7631, allocations: 142.5 kB / 462.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7631, allocations: 0 / 462.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of Templates: time 0.1897/0.9529, allocations: 78.8 MB / 0.5285 GB, free: 4.188 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.SynchronousMachines.SMR_DOLCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOLCalcHelperMain.o] Error 1