Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 88.67 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 198.3 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.746/1.746, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002768, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1587, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01286/0.1716, allocations: 10.48 MB / 369.3 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2878/0.4595, allocations: 3.757 MB / 373 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.4622, allocations: 57.81 kB / 373.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.4647, allocations: 0.7019 MB / 373.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.4682, allocations: 0.8367 MB / 374.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.4696, allocations: 353.7 kB / 375 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006392/0.476, allocations: 3.501 MB / 378.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003753/0.4798, allocations: 1.837 MB / 380.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005087/0.4849, allocations: 1.153 MB / 381.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005153/0.4901, allocations: 1.583 MB / 383 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007169/0.4908, allocations: 171 kB / 383.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.4927, allocations: 382 kB / 383.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.494, allocations: 0.8607 MB / 384.4 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.4954, allocations: 0.6214 MB / 385.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00562/0.501, allocations: 4.289 MB / 389.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.501, allocations: 0 / 389.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.501, allocations: 0.9375 kB / 389.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001345/0.5012, allocations: 0 / 389.4 MB, free: 6.023 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.008394/0.5096, allocations: 3.2 MB / 392.6 MB, free: 4.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.5096, allocations: 12.25 kB / 392.6 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.5116, allocations: 486.6 kB / 393 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.5153, allocations: 1.838 MB / 394.9 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.5156, allocations: 206.8 kB / 395.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004378/0.516, allocations: 268.4 kB / 395.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006434/0.5224, allocations: 3.527 MB / 398.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.632e-05/0.5225, allocations: 0 / 398.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.5228, allocations: 113.4 kB / 399 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.5229, allocations: 124.7 kB / 399.1 MB, free: 1.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005136/0.528, allocations: 2.982 MB / 402.1 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01848/0.5465, allocations: 11.15 MB / 413.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/0.5494, allocations: 2.287 MB / 415.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.5512, allocations: 1.206 MB / 416.7 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.5516, allocations: 210.9 kB / 416.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.5516, allocations: 47.88 kB / 417 MB, free: 15.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 3.487e-06/0.5516, allocations: 0 / 417 MB, free: 15.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=148): time 0.01615/0.5678, allocations: 7.639 MB / 424.6 MB, free: 8.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.5679, allocations: 68.72 kB / 424.7 MB, free: 7.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/0.5713, allocations: 1.968 MB / 426.7 MB, free: 5.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.5715, allocations: 49.69 kB / 426.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.5726, allocations: 1.311 MB / 428 MB, free: 4.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/0.5731, allocations: 0.5069 MB / 428.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.5732, allocations: 39.94 kB / 428.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.5734, allocations: 369.9 kB / 428.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.5751, allocations: 0.8979 MB / 429.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.5771, allocations: 1.381 MB / 431.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.5789, allocations: 1.096 MB / 432.3 MB, free: 104 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.5789, allocations: 8 kB / 432.3 MB, free: 96 kB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005378/0.5843, allocations: 3.004 MB / 435.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.5843, allocations: 12 kB / 435.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.5844, allocations: 12 kB / 435.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.5855, allocations: 465.3 kB / 435.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.5871, allocations: 443.3 kB / 436.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.5939, allocations: 5.597 MB / 441.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.5963, allocations: 135.7 kB / 442 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.5965, allocations: 72 kB / 442 MB, free: 6.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(3,100.0%) 16,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002518/0.599, allocations: 0.8447 MB / 442.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008889/0.5999, allocations: 213.5 kB / 443.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005784/0.6057, allocations: 2.613 MB / 445.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.229e-05/0.6058, allocations: 23.95 kB / 445.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.6058, allocations: 4 kB / 445.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.6058, allocations: 10.16 kB / 445.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.6171, allocations: 5.673 MB / 451.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.6171, allocations: 0 / 451.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.6184, allocations: 299.9 kB / 451.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/0.6199, allocations: 0.4925 MB / 452.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.6201, allocations: 39.98 kB / 452.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008182/0.6282, allocations: 7.053 MB / 459.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.6283, allocations: 4 kB / 459.3 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/0.635, allocations: 3.874 MB / 463.2 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.6365, allocations: 478.5 kB / 463.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.6368, allocations: 36 kB / 463.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6379, allocations: 111.9 kB / 463.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/0.6383, allocations: 116.9 kB / 463.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.6384, allocations: 49.16 kB / 463.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002453/0.6408, allocations: 1.34 MB / 465.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6408, allocations: 7.938 kB / 465.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002537/0.6434, allocations: 0.5898 MB / 465.9 MB, free: 13.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(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.0004762/0.6439, allocations: 182.8 kB / 466 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004681/0.6486, allocations: 2.626 MB / 468.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.6486, allocations: 0 / 468.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00273/0.6513, allocations: 1.611 MB / 470.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.654, allocations: 488.1 kB / 470.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.6657, allocations: 6.731 MB / 477.5 MB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002281/0.6681, allocations: 2.108 MB / 479.6 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.6691, allocations: 147.4 kB / 479.7 MB, free: 15.5 MB / 398.1 MB Notification: Performance of SimCode: time 1.472e-06/0.6691, allocations: 1.75 kB / 479.7 MB, free: 15.5 MB / 398.1 MB Notification: Performance of Templates: time 0.4153/1.084, allocations: 74.89 MB / 0.5416 GB, free: 149 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.SMEE_DOLCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOLCalcHelperMain.o] Error 1