Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 90.27 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.001527/0.001528, allocations: 197.4 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.706/1.706, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 4 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.0106/0.1413, allocations: 9.044 MB / 367.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007216/0.1485, allocations: 3.09 MB / 370.9 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.1503, allocations: 51.75 kB / 371 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.1521, allocations: 0.5551 MB / 371.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.1548, allocations: 0.7186 MB / 372.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/0.1557, allocations: 259.6 kB / 372.5 MB, free: 368 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2324/0.3881, allocations: 3.036 MB / 375.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.3909, allocations: 1.654 MB / 377.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.3934, allocations: 1.009 MB / 378.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.3956, allocations: 1.39 MB / 379.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003227/0.3959, allocations: 147.6 kB / 379.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008502/0.3968, allocations: 231 kB / 380 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.3979, allocations: 0.7691 MB / 380.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.3989, allocations: 0.5555 MB / 381.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005044/0.4039, allocations: 3.746 MB / 385 MB, free: 8.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.4039, allocations: 1.25 kB / 385 MB, free: 8.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.404, allocations: 0 / 385 MB, free: 8.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001305/0.4041, allocations: 2.078 kB / 385 MB, free: 8.586 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.007773/0.4119, allocations: 2.816 MB / 387.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4119, allocations: 9.344 kB / 387.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.4134, allocations: 373.4 kB / 388.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/0.4167, allocations: 1.65 MB / 389.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.4169, allocations: 179.3 kB / 390.1 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000449/0.4174, allocations: 235.5 kB / 390.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006334/0.4237, allocations: 3.134 MB / 393.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.676e-05/0.4238, allocations: 3 kB / 393.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.4241, allocations: 95.3 kB / 393.5 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.4242, allocations: 110.8 kB / 393.6 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005141/0.4294, allocations: 2.712 MB / 396.3 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.445, allocations: 9.772 MB / 406.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.4478, allocations: 2.183 MB / 408.3 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.4497, allocations: 1.136 MB / 409.4 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/0.45, allocations: 213.8 kB / 409.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.45, allocations: 43.56 kB / 409.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.805e-06/0.45, allocations: 0 / 409.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01424/0.4643, allocations: 6.947 MB / 416.6 MB, free: 256 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.4644, allocations: 64.72 kB / 416.7 MB, free: 176 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.4672, allocations: 1.736 MB / 418.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4673, allocations: 53.7 kB / 418.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008639/0.4682, allocations: 1.153 MB / 419.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/0.4686, allocations: 452.6 kB / 420.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/0.4687, allocations: 31.94 kB / 420.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4689, allocations: 365.9 kB / 420.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.4702, allocations: 0.8042 MB / 421.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.4718, allocations: 1.207 MB / 422.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.4734, allocations: 0.9783 MB / 423.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4734, allocations: 4 kB / 423.5 MB, free: 9.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004578/0.478, allocations: 2.683 MB / 426.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.478, allocations: 12 kB / 426.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.4781, allocations: 15.98 kB / 426.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.4792, allocations: 424 kB / 426.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.4805, allocations: 359.4 kB / 426.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0067/0.4872, allocations: 6.482 MB / 433.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.4891, allocations: 115.8 kB / 433.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.4892, allocations: 63.98 kB / 433.6 MB, free: 14.64 MB / 350.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.002052/0.4913, allocations: 0.7978 MB / 434.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/0.4917, allocations: 189.7 kB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.4958, allocations: 2.392 MB / 437 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.4959, allocations: 18.41 kB / 437 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.4959, allocations: 4 kB / 437 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4959, allocations: 7.969 kB / 437 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008825/0.5047, allocations: 5.152 MB / 442.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.5048, allocations: 4.094 kB / 442.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009624/0.5057, allocations: 235.7 kB / 442.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.5068, allocations: 451 kB / 442.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-05/0.507, allocations: 39.98 kB / 442.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007822/0.5148, allocations: 7.933 MB / 450.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.5148, allocations: 15.92 kB / 450.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005995/0.5208, allocations: 3.538 MB / 454.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.5222, allocations: 438.7 kB / 454.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.5225, allocations: 39.98 kB / 454.8 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009168/0.5234, allocations: 91.91 kB / 454.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.5237, allocations: 120.7 kB / 455 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/0.5238, allocations: 39.98 kB / 455.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002093/0.5259, allocations: 1.187 MB / 456.2 MB, free: 7.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5259, allocations: 0 / 456.2 MB, free: 7.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002287/0.5282, allocations: 0.5039 MB / 456.8 MB, free: 6.68 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.0004518/0.5287, allocations: 175 kB / 456.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004638/0.5333, allocations: 2.467 MB / 459.4 MB, free: 3.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.5333, allocations: 0 / 459.4 MB, free: 3.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002678/0.536, allocations: 1.619 MB / 461 MB, free: 2.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.5391, allocations: 461.5 kB / 461.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.55, allocations: 5.973 MB / 467.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/0.552, allocations: 1.965 MB / 469.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009397/0.5529, allocations: 135.4 kB / 469.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of SimCode: time 1.984e-06/0.553, allocations: 0 / 469.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of Templates: time 0.3928/0.9458, allocations: 78.93 MB / 0.5356 GB, free: 148.1 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOLCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOLCalcHelperMain.o] Error 1