Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001055, allocations: 91.17 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.001406/0.001406, allocations: 197.1 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.609/1.609, allocations: 227.3 MB / 246.6 MB, free: 10.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003042, allocations: 11.98 kB / 307.3 MB, free: 1.344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1459, allocations: 51.49 MB / 358.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.3363/0.4822, allocations: 21.67 MB / 380.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02113/0.5034, allocations: 7.406 MB / 387.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008437/0.5119, allocations: 165.4 kB / 388.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008206/0.5201, allocations: 1.338 MB / 389.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01685/0.537, allocations: 2.487 MB / 391.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007854/0.5449, allocations: 1.256 MB / 393.1 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02936/0.5743, allocations: 13.62 MB / 406.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06233/0.6367, allocations: 19.34 MB / 426.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.6502, allocations: 4.362 MB / 430.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01431/0.6646, allocations: 4.791 MB / 435.3 MB, free: 244 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005063/0.6697, allocations: 0.6602 MB / 435.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/0.6802, allocations: 1.074 MB / 437 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006747/0.6871, allocations: 2.06 MB / 439 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008945/0.696, allocations: 2.137 MB / 441.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0323/0.7284, allocations: 19.62 MB / 460.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.7285, allocations: 0 / 460.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.087e-06/0.7285, allocations: 4 kB / 460.8 MB, free: 6.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001096/0.7296, allocations: 0 / 460.8 MB, free: 6.609 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04821/0.7778, allocations: 11.37 MB / 472.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.7779, allocations: 8.031 kB / 472.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03789/0.8158, allocations: 6.246 MB / 478.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02478/0.8406, allocations: 7.005 MB / 485.4 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001651/0.8423, allocations: 0.7186 MB / 486.2 MB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007522/0.8499, allocations: 0.949 MB / 487.1 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07451/0.9244, allocations: 16.08 MB / 0.4914 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008929/0.9254, allocations: 19.89 kB / 0.4914 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006258/0.9317, allocations: 404 kB / 0.4918 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00102/0.9328, allocations: 0.5591 MB / 0.4923 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05504/0.9878, allocations: 15.04 MB / 0.507 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7497/1.738, allocations: 53.22 MB / 0.559 GB, free: 101.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/1.756, allocations: 20.09 MB / 0.5786 GB, free: 86.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006776/1.763, allocations: 3.683 MB / 0.5822 GB, free: 84.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/1.764, allocations: 268.7 kB / 0.5825 GB, free: 84.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/1.764, allocations: 77.78 kB / 0.5825 GB, free: 84.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=453): time 8.817e-06/1.764, allocations: 0 / 0.5825 GB, free: 84.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.06552/1.83, allocations: 22.9 MB / 0.6049 GB, free: 72.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/1.83, allocations: 104.2 kB / 0.605 GB, free: 72.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00918/1.839, allocations: 4.478 MB / 0.6094 GB, free: 69.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001079/1.84, allocations: 101.3 kB / 0.6095 GB, free: 69.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002697/1.843, allocations: 4.189 MB / 0.6136 GB, free: 65.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002348/1.845, allocations: 1.552 MB / 0.6151 GB, free: 64.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/1.846, allocations: 128 kB / 0.6152 GB, free: 64.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003905/1.846, allocations: 0.5506 MB / 0.6157 GB, free: 63.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/1.85, allocations: 3.085 MB / 0.6188 GB, free: 60.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005429/1.856, allocations: 5.23 MB / 0.6239 GB, free: 54.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005402/1.861, allocations: 4.273 MB / 0.628 GB, free: 50.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.563e-05/1.861, allocations: 20 kB / 0.6281 GB, free: 50.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01473/1.876, allocations: 9.878 MB / 0.6377 GB, free: 40.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/1.876, allocations: 32 kB / 0.6377 GB, free: 40.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/1.876, allocations: 71.98 kB / 0.6378 GB, free: 40.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00308/1.879, allocations: 1.38 MB / 0.6392 GB, free: 38.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/1.884, allocations: 1.388 MB / 0.6405 GB, free: 37.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/1.898, allocations: 11.65 MB / 0.6519 GB, free: 25.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005368/1.903, allocations: 359.4 kB / 0.6522 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/1.905, allocations: 296 kB / 0.6525 GB, free: 24.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007862/1.913, allocations: 3.892 MB / 0.6563 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/1.914, allocations: 462.3 kB / 0.6568 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/1.927, allocations: 8.571 MB / 0.6651 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008694/1.935, allocations: 6.273 MB / 0.6712 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/1.935, allocations: 12 kB / 0.6713 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-05/1.935, allocations: 23.91 kB / 0.6713 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03571/1.971, allocations: 17.71 MB / 0.6886 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/1.971, allocations: 8 kB / 0.6886 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003308/1.975, allocations: 0.8035 MB / 0.6894 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00391/1.978, allocations: 1.279 MB / 0.6906 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006482/1.979, allocations: 99.98 kB / 0.6907 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01633/1.995, allocations: 10.58 MB / 0.701 GB, free: 6.684 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.491e-05/1.996, allocations: 11.94 kB / 0.7011 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02236/2.018, allocations: 11.25 MB / 0.712 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00387/2.022, allocations: 1.112 MB / 0.7131 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006993/2.023, allocations: 95.95 kB / 0.7132 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/2.025, allocations: 235.8 kB / 0.7135 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008205/2.026, allocations: 327.6 kB / 0.7138 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/2.026, allocations: 136 kB / 0.7139 GB, free: 9.359 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005495/2.031, allocations: 3.084 MB / 0.7169 GB, free: 6.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/2.031, allocations: 0 / 0.7169 GB, free: 6.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007593/2.039, allocations: 1.732 MB / 0.7186 GB, free: 4.539 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 6,(14,44.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/2.041, allocations: 0.5443 MB / 0.7191 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.3181/2.359, allocations: 8.005 MB / 0.7269 GB, free: 170.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/2.359, allocations: 1.375 kB / 0.7269 GB, free: 170.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01089/2.37, allocations: 3.968 MB / 0.7308 GB, free: 169.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008964/2.379, allocations: 1.014 MB / 0.7318 GB, free: 169.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05154/2.43, allocations: 21.3 MB / 0.7526 GB, free: 158.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00977/2.44, allocations: 6.335 MB / 0.7588 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002347/2.443, allocations: 420.7 kB / 0.7592 GB, free: 155.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.332e-06/2.443, allocations: 0 / 0.7592 GB, free: 155.9 MB / 494.1 MB Notification: Performance of Templates: time 0.6546/3.097, allocations: 226.5 MB / 0.9804 GB, free: 102.9 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o] Error 1