Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 92.39 kB / 16.95 MB, free: 5.949 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.001244/0.001244, allocations: 178.5 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 223.3 MB / 241.9 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 4 kB / 301.5 MB, free: 6.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 50.42 MB / 351.9 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.309/0.4455, allocations: 34.45 MB / 386.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03015/0.4758, allocations: 9.653 MB / 396 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01418/0.49, allocations: 277.5 kB / 396.3 MB, free: 3.066 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.501, allocations: 1.649 MB / 397.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01502/0.5161, allocations: 2.809 MB / 400.7 MB, free: 496 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007745/0.5238, allocations: 1.499 MB / 402.2 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02561/0.5495, allocations: 13.74 MB / 416 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.052/0.6015, allocations: 19.9 MB / 435.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0135/0.615, allocations: 4.804 MB / 440.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01395/0.6291, allocations: 5.654 MB / 446.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005781/0.6349, allocations: 0.7656 MB / 447.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009794/0.6447, allocations: 1.109 MB / 448.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006655/0.6514, allocations: 2.456 MB / 450.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00903/0.6605, allocations: 2.515 MB / 453.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03349/0.694, allocations: 21.68 MB / 474.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.6941, allocations: 3.938 kB / 474.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.6941, allocations: 0 / 474.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00123/0.6953, allocations: 0 / 474.9 MB, free: 11.04 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3329 * Number of variables: 3329 Notification: Performance of Generate backend data structure: time 0.04642/0.7418, allocations: 12.54 MB / 487.4 MB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.122e-05/0.7419, allocations: 12.03 kB / 487.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03411/0.776, allocations: 6.15 MB / 493.6 MB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02326/0.7993, allocations: 7.686 MB / 0.4895 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001601/0.801, allocations: 0.9189 MB / 0.4904 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006672/0.8077, allocations: 1.199 MB / 0.4916 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06644/0.8742, allocations: 18.57 MB / 0.5097 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006546/0.8749, allocations: 23.8 kB / 0.5097 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005713/0.8806, allocations: 0.4921 MB / 0.5102 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008292/0.8814, allocations: 0.6382 MB / 0.5108 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6578/1.539, allocations: 16.66 MB / 0.5271 GB, free: 111.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1249/1.664, allocations: 59.02 MB / 0.5847 GB, free: 71.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02582/1.69, allocations: 32.83 MB / 0.6168 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008755/1.699, allocations: 3.734 MB / 0.6204 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02139/1.72, allocations: 8.679 MB / 0.6289 GB, free: 23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/1.721, allocations: 73.25 kB / 0.629 GB, free: 22.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=349): time 1.584e-05/1.721, allocations: 0 / 0.629 GB, free: 22.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=389): time 0.04309/1.764, allocations: 18.45 MB / 0.647 GB, free: 4.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/1.764, allocations: 94.47 kB / 0.6471 GB, free: 4.211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/1.777, allocations: 4.981 MB / 0.652 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001272/1.778, allocations: 85.7 kB / 0.652 GB, free: 15.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006601/1.785, allocations: 5.444 MB / 0.6574 GB, free: 9.664 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002821/1.788, allocations: 1.357 MB / 0.6587 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/1.789, allocations: 132 kB / 0.6588 GB, free: 8.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.001035/1.79, allocations: 0.5761 MB / 0.6594 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007217/1.798, allocations: 2.879 MB / 0.6622 GB, free: 4.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/1.808, allocations: 5.855 MB / 0.6679 GB, free: 13.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009116/1.817, allocations: 4.195 MB / 0.672 GB, free: 9.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001754/1.817, allocations: 32 kB / 0.672 GB, free: 9.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02602/1.843, allocations: 9.781 MB / 0.6816 GB, free: 15.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/1.844, allocations: 51.98 kB / 0.6816 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002749/1.844, allocations: 100 kB / 0.6817 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/1.847, allocations: 0.9495 MB / 0.6827 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00756/1.854, allocations: 1.579 MB / 0.6842 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/1.87, allocations: 9.487 MB / 0.6935 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00703/1.877, allocations: 407.2 kB / 0.6939 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002127/1.879, allocations: 348 kB / 0.6942 GB, free: 2.047 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * 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 (816): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(8,62.5%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3642/2.243, allocations: 4.249 MB / 0.6983 GB, free: 145.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/2.245, allocations: 0.51 MB / 0.6988 GB, free: 145.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/2.261, allocations: 6.478 MB / 0.7052 GB, free: 144.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.086e-05/2.261, allocations: 39.41 kB / 0.7052 GB, free: 144.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.937e-05/2.261, allocations: 11.31 kB / 0.7052 GB, free: 144.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.457e-05/2.261, allocations: 23.67 kB / 0.7052 GB, free: 144.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0339/2.295, allocations: 15.7 MB / 0.7206 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/2.295, allocations: 0 / 0.7206 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002892/2.298, allocations: 0.7479 MB / 0.7213 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/2.3, allocations: 0.7802 MB / 0.7221 GB, free: 138.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/2.3, allocations: 90.91 kB / 0.7221 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009767/2.31, allocations: 8.655 MB / 0.7306 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-06/2.31, allocations: 3.688 kB / 0.7306 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/2.326, allocations: 9.469 MB / 0.7398 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003698/2.33, allocations: 1.07 MB / 0.7409 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009389/2.331, allocations: 71.67 kB / 0.741 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/2.333, allocations: 225.2 kB / 0.7412 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005589/2.334, allocations: 261 kB / 0.7414 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/2.334, allocations: 115.8 kB / 0.7415 GB, free: 127.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006821/2.341, allocations: 3.31 MB / 0.7448 GB, free: 125.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.264e-06/2.341, allocations: 0 / 0.7448 GB, free: 125.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0106/2.352, allocations: 1.882 MB / 0.7466 GB, free: 123.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.phi) * 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 (368): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(8,59.4%) 38,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/2.353, allocations: 267.8 kB / 0.7469 GB, free: 123.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01182/2.364, allocations: 7.598 MB / 0.7543 GB, free: 116.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/2.365, allocations: 0 / 0.7543 GB, free: 116.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004807/2.369, allocations: 3.547 MB / 0.7577 GB, free: 113.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009297/2.379, allocations: 1.231 MB / 0.7589 GB, free: 112.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05192/2.431, allocations: 23.61 MB / 0.782 GB, free: 89.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009519/2.44, allocations: 7.103 MB / 0.7889 GB, free: 82.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002453/2.443, allocations: 459.3 kB / 0.7894 GB, free: 82.31 MB / 478.1 MB Notification: Performance of SimCode: time 2.435e-06/2.443, allocations: 4 kB / 0.7894 GB, free: 82.31 MB / 478.1 MB Notification: Performance of Templates: time 1.43/3.873, allocations: 459.4 MB / 1.238 GB, free: 146.1 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o] Error 1