Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009754/0.0009756, allocations: 101.4 kB / 17.97 MB, free: 5.602 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.001262/0.001262, allocations: 175.2 kB / 18.86 MB, free: 4.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.4 MB / 225 MB, free: 12.98 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005236, allocations: 16.52 kB / 282.1 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 47.59 MB / 329.6 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02671/0.1644, allocations: 23.44 MB / 353.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02171/0.1862, allocations: 7.57 MB / 360.7 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008568/0.1948, allocations: 147.5 kB / 360.8 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008068/0.2029, allocations: 1.766 MB / 362.6 MB, free: 2.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01433/0.2173, allocations: 2.773 MB / 365.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007186/0.2245, allocations: 1.56 MB / 366.9 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02021/0.2448, allocations: 11.13 MB / 378 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3424/0.5873, allocations: 23.58 MB / 401.6 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009881/0.5972, allocations: 4.23 MB / 405.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.6076, allocations: 5.094 MB / 410.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003484/0.6111, allocations: 0.6649 MB / 411.6 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0054/0.6165, allocations: 1.05 MB / 412.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002391/0.6189, allocations: 2.149 MB / 414.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008417/0.6273, allocations: 5.076 MB / 419.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02346/0.6508, allocations: 19.61 MB / 439.5 MB, free: 384 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.6509, allocations: 0 / 439.5 MB, free: 384 kB / 334.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.6509, allocations: 0 / 439.5 MB, free: 384 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0009564/0.6519, allocations: 0 / 439.5 MB, free: 384 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03803/0.6899, allocations: 11.36 MB / 450.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.69, allocations: 8.031 kB / 450.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04178/0.7318, allocations: 7.23 MB / 458.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/0.7487, allocations: 6.511 MB / 464.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001136/0.7499, allocations: 0.732 MB / 465.3 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005529/0.7555, allocations: 0.9627 MB / 466.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05405/0.8095, allocations: 16.62 MB / 482.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006984/0.8103, allocations: 15.91 kB / 482.9 MB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005015/0.8153, allocations: 401.7 kB / 483.3 MB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001063/0.8164, allocations: 0.587 MB / 483.9 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04556/0.862, allocations: 15.81 MB / 499.7 MB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6486/1.511, allocations: 54.04 MB / 0.5408 GB, free: 127.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02766/1.538, allocations: 22.73 MB / 0.563 GB, free: 111 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007355/1.546, allocations: 3.842 MB / 0.5667 GB, free: 111 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01927/1.565, allocations: 11.79 MB / 0.5782 GB, free: 107.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/1.565, allocations: 72.77 kB / 0.5783 GB, free: 107.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=363): time 5.601e-06/1.565, allocations: 0 / 0.5783 GB, free: 107.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=368): time 0.03869/1.604, allocations: 17.57 MB / 0.5955 GB, free: 100.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/1.604, allocations: 88.14 kB / 0.5956 GB, free: 100.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007256/1.611, allocations: 4.764 MB / 0.6002 GB, free: 98.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009083/1.612, allocations: 84.95 kB / 0.6003 GB, free: 98.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002775/1.615, allocations: 4.471 MB / 0.6047 GB, free: 94.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001868/1.617, allocations: 1.273 MB / 0.6059 GB, free: 93.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007325/1.618, allocations: 479 kB / 0.6064 GB, free: 93.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/1.618, allocations: 304.9 kB / 0.6066 GB, free: 93.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004289/1.622, allocations: 2.935 MB / 0.6095 GB, free: 91.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005358/1.627, allocations: 5.311 MB / 0.6147 GB, free: 87.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.638, allocations: 8.715 MB / 0.6232 GB, free: 78.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/1.638, allocations: 24 kB / 0.6232 GB, free: 78.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.02131/1.66, allocations: 9.685 MB / 0.6327 GB, free: 68.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/1.66, allocations: 36 kB / 0.6327 GB, free: 68.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/1.66, allocations: 80 kB / 0.6328 GB, free: 68.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003733/1.664, allocations: 1.407 MB / 0.6342 GB, free: 66.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005168/1.669, allocations: 1.33 MB / 0.6355 GB, free: 65.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/1.685, allocations: 11.69 MB / 0.6469 GB, free: 53.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005858/1.691, allocations: 367.5 kB / 0.6472 GB, free: 53.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/1.692, allocations: 304 kB / 0.6475 GB, free: 53.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009027/1.701, allocations: 3.919 MB / 0.6514 GB, free: 49.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/1.703, allocations: 450.4 kB / 0.6518 GB, free: 48.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.719, allocations: 6.836 MB / 0.6585 GB, free: 41.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008861/1.728, allocations: 5.644 MB / 0.664 GB, free: 36.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/1.728, allocations: 12 kB / 0.664 GB, free: 36.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/1.728, allocations: 23.92 kB / 0.664 GB, free: 36.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03051/1.758, allocations: 15.52 MB / 0.6792 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.758, allocations: 4.594 kB / 0.6792 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/1.761, allocations: 0.6748 MB / 0.6798 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003777/1.765, allocations: 1.275 MB / 0.6811 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005757/1.766, allocations: 87.97 kB / 0.6812 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.779, allocations: 10.59 MB / 0.6915 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.779, allocations: 7.938 kB / 0.6915 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/1.796, allocations: 10.11 MB / 0.7014 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002823/1.798, allocations: 1.05 MB / 0.7024 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005784/1.799, allocations: 72 kB / 0.7025 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.801, allocations: 223.8 kB / 0.7027 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007671/1.802, allocations: 275.1 kB / 0.703 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/1.802, allocations: 112 kB / 0.7031 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006007/1.808, allocations: 3.229 MB / 0.7062 GB, free: 8.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.31e-07/1.808, allocations: 0 / 0.7062 GB, free: 8.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007729/1.816, allocations: 1.697 MB / 0.7079 GB, free: 6.648 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001659/1.818, allocations: 0.5141 MB / 0.7084 GB, free: 6.156 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2707/2.088, allocations: 7.591 MB / 0.7158 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/2.088, allocations: 1.375 kB / 0.7158 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01019/2.099, allocations: 3.616 MB / 0.7193 GB, free: 146.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01025/2.109, allocations: 0.9716 MB / 0.7203 GB, free: 146.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06268/2.172, allocations: 22.03 MB / 0.7418 GB, free: 135.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/2.183, allocations: 6.371 MB / 0.748 GB, free: 133.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0023/2.185, allocations: 411.3 kB / 0.7484 GB, free: 133.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.683e-06/2.185, allocations: 0 / 0.7484 GB, free: 133.1 MB / 462.1 MB Notification: Performance of Templates: time 0.6133/2.799, allocations: 226.4 MB / 0.9695 GB, free: 79.44 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o] Error 1