Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|currentController.y.1.|currentController.y.2.|currentController.y.3.",fileNamePrefix="Modelica_3.2.3_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|currentController.y.1.|currentController.y.2.|currentController.y.3.",fileNamePrefix="Modelica_3.2.3_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.0007572/0.0007573, allocations: 88.84 kB / 17.58 MB, free: 5.746 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.001095/0.001095, allocations: 186 kB / 18.48 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004549/0.000455, allocations: 12 kB / 281.4 MB, free: 3.703 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 47.58 MB / 329 MB, free: 4.051 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.03484/0.1446, allocations: 34.96 MB / 364 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02436/0.169, allocations: 9.793 MB / 373.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00843/0.1775, allocations: 247.1 kB / 374 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006159/0.1837, allocations: 1.67 MB / 375.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.1956, allocations: 3.009 MB / 378.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005696/0.2013, allocations: 1.552 MB / 380.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2618/0.4631, allocations: 14.35 MB / 394.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03934/0.5025, allocations: 19.97 MB / 414.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/0.5132, allocations: 5.008 MB / 419.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/0.5243, allocations: 5.965 MB / 425.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004053/0.5284, allocations: 0.7773 MB / 426.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008105/0.5365, allocations: 1.129 MB / 427.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005601/0.5421, allocations: 2.632 MB / 430.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007332/0.5495, allocations: 2.597 MB / 432.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0305/0.58, allocations: 22.1 MB / 454.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.5801, allocations: 0 / 454.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5801, allocations: 3.938 kB / 454.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0009458/0.581, allocations: 4 kB / 454.8 MB, free: 8.227 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3512 * Number of variables: 3512 Notification: Performance of Generate backend data structure: time 0.0455/0.6265, allocations: 12.98 MB / 467.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.6266, allocations: 8.031 kB / 467.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04817/0.6748, allocations: 9.138 MB / 476.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02124/0.6961, allocations: 7.355 MB / 484.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00139/0.6976, allocations: 0.9496 MB / 485.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006135/0.7037, allocations: 1.248 MB / 486.5 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0637/0.7674, allocations: 20.06 MB / 0.4947 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001068/0.7686, allocations: 15.81 kB / 0.4947 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005905/0.7745, allocations: 0.5195 MB / 0.4952 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009625/0.7755, allocations: 0.7333 MB / 0.4959 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04854/0.8241, allocations: 18.87 MB / 0.5143 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.609/1.433, allocations: 63.57 MB / 0.5764 GB, free: 90.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03709/1.47, allocations: 56.92 MB / 0.632 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008954/1.479, allocations: 4.112 MB / 0.636 GB, free: 30.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02859/1.508, allocations: 11.41 MB / 0.6471 GB, free: 22.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.514e-05/1.508, allocations: 77.25 kB / 0.6472 GB, free: 22.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=349): time 6.873e-06/1.508, allocations: 0 / 0.6472 GB, free: 22.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=389): time 0.04067/1.549, allocations: 19.09 MB / 0.6658 GB, free: 3.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.549, allocations: 90.47 kB / 0.6659 GB, free: 3.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009793/1.559, allocations: 5.419 MB / 0.6712 GB, free: 13.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/1.56, allocations: 85.7 kB / 0.6713 GB, free: 13.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005322/1.565, allocations: 5.885 MB / 0.6771 GB, free: 7.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002393/1.568, allocations: 1.376 MB / 0.6784 GB, free: 6.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004874/1.568, allocations: 152 kB / 0.6785 GB, free: 6.109 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004893/1.569, allocations: 0.6163 MB / 0.6791 GB, free: 5.488 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005537/1.574, allocations: 3.052 MB / 0.6821 GB, free: 2.434 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009489/1.584, allocations: 6.727 MB / 0.6887 GB, free: 9.938 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00853/1.592, allocations: 4.566 MB / 0.6931 GB, free: 5.352 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/1.592, allocations: 36 kB / 0.6932 GB, free: 5.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=982) (initialization): time 0.02153/1.614, allocations: 10.73 MB / 0.7037 GB, free: 10.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002009/1.614, allocations: 63.91 kB / 0.7037 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002799/1.614, allocations: 127.8 kB / 0.7038 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/1.617, allocations: 1.004 MB / 0.7048 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007119/1.624, allocations: 1.805 MB / 0.7066 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2879/1.912, allocations: 9.516 MB / 0.7159 GB, free: 155.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00687/1.919, allocations: 446.9 kB / 0.7163 GB, free: 155.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001861/1.921, allocations: 418 kB / 0.7167 GB, free: 155.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * 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 (933): * Single equations (assignments): 928 * 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,65.6%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01079/1.932, allocations: 4.454 MB / 0.7211 GB, free: 155.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/1.933, allocations: 0.5412 MB / 0.7216 GB, free: 155.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.946, allocations: 6.525 MB / 0.728 GB, free: 153.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/1.946, allocations: 38.72 kB / 0.728 GB, free: 153.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/1.946, allocations: 13.84 kB / 0.728 GB, free: 153.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.631e-05/1.946, allocations: 18.8 kB / 0.728 GB, free: 153.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02465/1.971, allocations: 15.95 MB / 0.7436 GB, free: 147.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.971, allocations: 5.531 kB / 0.7436 GB, free: 147.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003187/1.974, allocations: 0.7519 MB / 0.7443 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/1.976, allocations: 0.7814 MB / 0.7451 GB, free: 147.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/1.976, allocations: 89.55 kB / 0.7452 GB, free: 147.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008997/1.985, allocations: 8.663 MB / 0.7536 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.985, allocations: 3.812 kB / 0.7537 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0127/1.998, allocations: 9.493 MB / 0.7629 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/2.001, allocations: 1.103 MB / 0.764 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009479/2.002, allocations: 75.05 kB / 0.7641 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/2.004, allocations: 226.4 kB / 0.7643 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004903/2.004, allocations: 260.7 kB / 0.7645 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002234/2.005, allocations: 111.9 kB / 0.7646 GB, free: 136.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006456/2.011, allocations: 3.564 MB / 0.7681 GB, free: 133.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.82e-07/2.011, allocations: 3.844 kB / 0.7681 GB, free: 133.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009934/2.021, allocations: 1.98 MB / 0.7701 GB, free: 131.5 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,(1,100.0%) 1,(8,65.6%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009852/2.022, allocations: 249.8 kB / 0.7703 GB, free: 131.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01262/2.035, allocations: 8.015 MB / 0.7781 GB, free: 123.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/2.035, allocations: 8 kB / 0.7781 GB, free: 123.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005355/2.04, allocations: 3.529 MB / 0.7816 GB, free: 119.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008138/2.048, allocations: 1.254 MB / 0.7828 GB, free: 118.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03788/2.086, allocations: 24.86 MB / 0.8071 GB, free: 93.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007596/2.094, allocations: 7.376 MB / 0.8143 GB, free: 86.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002236/2.096, allocations: 499.3 kB / 0.8148 GB, free: 85.61 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/2.096, allocations: 0 / 0.8148 GB, free: 85.61 MB / 478.1 MB Notification: Performance of Templates: time 1.403/3.5, allocations: 475.7 MB / 1.279 GB, free: 146.9 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o] Error 1