Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001576, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.702/1.702, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002666, allocations: 4 kB / 307.3 MB, free: 1.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.3387/0.4799, allocations: 36.55 MB / 395.4 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03241/0.5124, allocations: 10.37 MB / 405.7 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01247/0.5249, allocations: 285.9 kB / 406 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008922/0.5339, allocations: 1.776 MB / 407.8 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01702/0.5509, allocations: 2.939 MB / 410.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007691/0.5586, allocations: 1.592 MB / 412.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02479/0.5834, allocations: 14.26 MB / 426.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04984/0.6333, allocations: 20.1 MB / 446.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0137/0.6471, allocations: 4.948 MB / 451.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01259/0.6597, allocations: 5.836 MB / 457.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004047/0.6638, allocations: 0.7773 MB / 458.3 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007733/0.6716, allocations: 1.168 MB / 459.4 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005834/0.6774, allocations: 2.503 MB / 461.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008201/0.6857, allocations: 2.601 MB / 464.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03411/0.7198, allocations: 22.18 MB / 486.7 MB, free: 12.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7198, allocations: 4 kB / 486.7 MB, free: 12.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.7199, allocations: 4 kB / 486.7 MB, free: 12.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009114/0.7208, allocations: 3.938 kB / 486.7 MB, free: 12.42 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3414 * Number of variables: 3414 Notification: Performance of Generate backend data structure: time 0.04059/0.7614, allocations: 12.94 MB / 499.7 MB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.7614, allocations: 11.97 kB / 499.7 MB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03406/0.7955, allocations: 6.223 MB / 0.494 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/0.8151, allocations: 7.907 MB / 0.5018 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00115/0.8163, allocations: 0.9429 MB / 0.5027 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005505/0.8218, allocations: 1.222 MB / 0.5039 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06359/0.8854, allocations: 18.93 MB / 0.5223 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001221/0.8867, allocations: 23.8 kB / 0.5224 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007826/0.8945, allocations: 0.5078 MB / 0.5229 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008815/0.8955, allocations: 0.6544 MB / 0.5235 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7155/1.611, allocations: 16.93 MB / 0.54 GB, free: 120.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1333/1.744, allocations: 61.52 MB / 0.6001 GB, free: 78.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02322/1.768, allocations: 33.44 MB / 0.6328 GB, free: 42.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006967/1.775, allocations: 3.836 MB / 0.6365 GB, free: 38.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02062/1.795, allocations: 9.121 MB / 0.6454 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.104e-05/1.795, allocations: 69.41 kB / 0.6455 GB, free: 29.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=361): time 6.663e-06/1.795, allocations: 4 kB / 0.6455 GB, free: 29.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=403): time 0.04356/1.839, allocations: 18.61 MB / 0.6637 GB, free: 10.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/1.839, allocations: 98.58 kB / 0.6638 GB, free: 10.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/1.852, allocations: 5.214 MB / 0.6689 GB, free: 5.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008833/1.853, allocations: 93.7 kB / 0.669 GB, free: 5.137 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004689/1.857, allocations: 5.618 MB / 0.6744 GB, free: 15.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002606/1.86, allocations: 1.401 MB / 0.6758 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/1.861, allocations: 140 kB / 0.6759 GB, free: 13.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0009665/1.862, allocations: 0.5796 MB / 0.6765 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006548/1.869, allocations: 2.949 MB / 0.6794 GB, free: 10.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009559/1.878, allocations: 5.984 MB / 0.6852 GB, free: 2.996 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008584/1.887, allocations: 4.281 MB / 0.6894 GB, free: 14.69 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/1.887, allocations: 28 kB / 0.6894 GB, free: 14.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.02294/1.91, allocations: 10.04 MB / 0.6992 GB, free: 4.562 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/1.91, allocations: 48 kB / 0.6993 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000244/1.911, allocations: 100 kB / 0.6994 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002745/1.913, allocations: 0.9527 MB / 0.7003 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006533/1.92, allocations: 1.626 MB / 0.7019 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.933, allocations: 9.515 MB / 0.7112 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007195/1.941, allocations: 419.2 kB / 0.7116 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/1.942, allocations: 360 kB / 0.7119 GB, free: 7.129 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (841): * Single equations (assignments): 836 * 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.01181/1.954, allocations: 4.313 MB / 0.7161 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002295/1.957, allocations: 0.544 MB / 0.7167 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3679/2.324, allocations: 6.665 MB / 0.7232 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.287e-05/2.325, allocations: 40.62 kB / 0.7232 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.862e-05/2.325, allocations: 9.531 kB / 0.7232 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.997e-05/2.325, allocations: 20.11 kB / 0.7233 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04382/2.368, allocations: 16.23 MB / 0.7391 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/2.369, allocations: 3.719 kB / 0.7391 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003087/2.372, allocations: 0.7736 MB / 0.7399 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/2.374, allocations: 0.7814 MB / 0.7406 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003096/2.374, allocations: 87.75 kB / 0.7407 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009173/2.383, allocations: 8.66 MB / 0.7492 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/2.383, allocations: 7.906 kB / 0.7492 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/2.399, allocations: 9.756 MB / 0.7587 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003118/2.402, allocations: 1.113 MB / 0.7598 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009624/2.403, allocations: 75.73 kB / 0.7599 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/2.405, allocations: 235.2 kB / 0.7601 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005301/2.406, allocations: 271.3 kB / 0.7603 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/2.406, allocations: 118 kB / 0.7605 GB, free: 139 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006391/2.412, allocations: 3.469 MB / 0.7638 GB, free: 137.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.022e-06/2.412, allocations: 5.875 kB / 0.7638 GB, free: 137.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009082/2.421, allocations: 1.944 MB / 0.7657 GB, free: 137 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi,smpmQS.inertiaRotor.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 (384): * Single equations (assignments): 379 * 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.001025/2.422, allocations: 280.8 kB / 0.766 GB, free: 136.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01203/2.434, allocations: 7.767 MB / 0.7736 GB, free: 129.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/2.434, allocations: 2 kB / 0.7736 GB, free: 129.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005339/2.44, allocations: 3.633 MB / 0.7772 GB, free: 126.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008158/2.448, allocations: 1.342 MB / 0.7785 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04252/2.491, allocations: 24.29 MB / 0.8022 GB, free: 102.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00893/2.5, allocations: 7.209 MB / 0.8092 GB, free: 95.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002782/2.502, allocations: 483.3 kB / 0.8097 GB, free: 95.16 MB / 494.1 MB Notification: Performance of SimCode: time 2.454e-06/2.502, allocations: 0 / 0.8097 GB, free: 95.16 MB / 494.1 MB Notification: Performance of Templates: time 1.578/4.081, allocations: 472.6 MB / 1.271 GB, free: 164.7 MB / 0.4982 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.o] Error 1