Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007948/0.0007946, allocations: 92.98 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008861/0.0008861, allocations: 196.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003002, allocations: 11.98 kB / 307.3 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1593, allocations: 51.49 MB / 358.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.4669/0.6263, allocations: 40.17 MB / 399 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04612/0.6725, allocations: 11.21 MB / 410.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02003/0.6926, allocations: 326.1 kB / 410.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01617/0.7088, allocations: 2.248 MB / 412.8 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02937/0.7382, allocations: 4.011 MB / 416.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01216/0.7504, allocations: 2.055 MB / 418.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.04489/0.7953, allocations: 23.32 MB / 442.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0788/0.8742, allocations: 31.96 MB / 474.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01937/0.8936, allocations: 7.779 MB / 481.9 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02008/0.9138, allocations: 8.845 MB / 490.7 MB, free: 8.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00712/0.9209, allocations: 1.211 MB / 491.9 MB, free: 7.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01286/0.9338, allocations: 1.621 MB / 493.6 MB, free: 5.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0101/0.944, allocations: 3.874 MB / 497.4 MB, free: 1.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01236/0.9564, allocations: 3.973 MB / 0.4897 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04887/1.005, allocations: 34.96 MB / 0.5238 GB, free: 10.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/1.005, allocations: 0 / 0.5238 GB, free: 10.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.389e-06/1.005, allocations: 0 / 0.5238 GB, free: 10.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001461/1.007, allocations: 4 kB / 0.5238 GB, free: 10.74 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.6778/1.685, allocations: 20.12 MB / 0.5435 GB, free: 75.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.272e-05/1.685, allocations: 9 kB / 0.5435 GB, free: 75.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06817/1.753, allocations: 11.4 MB / 0.5546 GB, free: 72.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03525/1.788, allocations: 12.88 MB / 0.5672 GB, free: 66.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002262/1.791, allocations: 1.364 MB / 0.5685 GB, free: 65.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01138/1.802, allocations: 1.8 MB / 0.5703 GB, free: 64.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1068/1.909, allocations: 29.47 MB / 0.599 GB, free: 40.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001306/1.91, allocations: 21.11 kB / 0.5991 GB, free: 40.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01098/1.921, allocations: 0.7433 MB / 0.5998 GB, free: 40.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000942/1.922, allocations: 0.9868 MB / 0.6008 GB, free: 39.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07591/1.998, allocations: 27.18 MB / 0.6273 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2712/2.269, allocations: 95.19 MB / 0.7202 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4677/2.737, allocations: 52.55 MB / 0.7716 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01787/2.755, allocations: 7.395 MB / 0.7788 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04974/2.805, allocations: 19.88 MB / 0.7982 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/2.805, allocations: 104.1 kB / 0.7983 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=683): time 1.882e-05/2.805, allocations: 0 / 0.7983 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=691): time 0.1149/2.92, allocations: 43.06 MB / 0.8404 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/2.92, allocations: 151.1 kB / 0.8405 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/2.935, allocations: 7.076 MB / 0.8474 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001886/2.936, allocations: 137.7 kB / 0.8475 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004761/2.941, allocations: 7.807 MB / 0.8552 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003165/2.944, allocations: 2.341 MB / 0.8575 GB, free: 98.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005721/2.945, allocations: 196 kB / 0.8576 GB, free: 97.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000404/2.945, allocations: 0.6914 MB / 0.8583 GB, free: 97.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006532/2.952, allocations: 4.875 MB / 0.8631 GB, free: 92.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008616/2.961, allocations: 8.353 MB / 0.8712 GB, free: 82.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009887/2.97, allocations: 6.586 MB / 0.8777 GB, free: 75.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/2.971, allocations: 32 kB / 0.8777 GB, free: 75.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03286/3.003, allocations: 16.11 MB / 0.8934 GB, free: 59.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/3.004, allocations: 53.06 kB / 0.8935 GB, free: 59.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/3.004, allocations: 116 kB / 0.8936 GB, free: 59.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00916/3.013, allocations: 2.572 MB / 0.8961 GB, free: 56.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01296/3.026, allocations: 2.102 MB / 0.8981 GB, free: 54.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0479/3.074, allocations: 28.53 MB / 0.926 GB, free: 24.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/3.087, allocations: 0.5319 MB / 0.9265 GB, free: 24.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003012/3.09, allocations: 459.9 kB / 0.927 GB, free: 23.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 8 {(1,100.0%) 1,(18,41.7%) 100,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02542/3.115, allocations: 6.765 MB / 0.9336 GB, free: 17.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003851/3.119, allocations: 0.7717 MB / 0.9343 GB, free: 16.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02745/3.146, allocations: 13.18 MB / 0.9472 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4002/3.547, allocations: 8.257 MB / 0.9553 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001538/3.547, allocations: 26.69 kB / 0.9553 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002693/3.547, allocations: 35.81 kB / 0.9553 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07167/3.619, allocations: 28.08 MB / 0.9827 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001112/3.619, allocations: 3.938 kB / 0.9827 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008057/3.627, allocations: 1.105 MB / 0.9838 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01184/3.639, allocations: 2.641 MB / 0.9864 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002282/3.641, allocations: 150.7 kB / 0.9866 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03703/3.678, allocations: 32.95 MB / 1.019 GB, free: 140 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/3.678, allocations: 7.438 kB / 1.019 GB, free: 140 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03317/3.712, allocations: 18.88 MB / 1.037 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006669/3.718, allocations: 1.774 MB / 1.039 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00362/3.722, allocations: 131.9 kB / 1.039 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006466/3.729, allocations: 410.8 kB / 1.039 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002569/3.731, allocations: 0.5276 MB / 1.04 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00149/3.733, allocations: 200.6 kB / 1.04 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01212/3.745, allocations: 4.741 MB / 1.045 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.31e-07/3.745, allocations: 0 / 1.045 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01707/3.762, allocations: 3.068 MB / 1.048 GB, free: 118.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (563): * Single equations (assignments): 548 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(18,41.7%) 100} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002312/3.764, allocations: 373.4 kB / 1.048 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02443/3.789, allocations: 13.38 MB / 1.061 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/3.789, allocations: 0 / 1.061 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01377/3.803, allocations: 7.584 MB / 1.069 GB, free: 97.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01544/3.818, allocations: 2.079 MB / 1.071 GB, free: 95.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07183/3.89, allocations: 38.05 MB / 1.108 GB, free: 57.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01568/3.906, allocations: 10.99 MB / 1.119 GB, free: 46.74 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004184/3.91, allocations: 0.64 MB / 1.119 GB, free: 46.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.452e-06/3.91, allocations: 0 / 1.119 GB, free: 46.1 MB / 0.5294 GB Notification: Performance of Templates: time 4.003/7.913, allocations: 1.227 GB / 2.347 GB, free: 99.48 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_StartCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.o] Error 1