Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|currentController.PI_d.x|currentController.PI_q.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|currentController.PI_d.x|currentController.PI_q.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009242/0.0009245, allocations: 88.39 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.001198/0.001198, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.000247, allocations: 8 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 51.48 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource): time 0.3478/0.4803, allocations: 14.5 MB / 373.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01783/0.4982, allocations: 5.198 MB / 378.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005326/0.5036, allocations: 100.6 kB / 378.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005427/0.509, allocations: 0.8585 MB / 379.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009071/0.5182, allocations: 1.074 MB / 380.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005288/0.5235, allocations: 0.688 MB / 381.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01429/0.5378, allocations: 3.877 MB / 385.1 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/0.5482, allocations: 2.577 MB / 387.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005408/0.5537, allocations: 1.309 MB / 389 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006333/0.5601, allocations: 1.733 MB / 390.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002367/0.5625, allocations: 203.2 kB / 390.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005255/0.5678, allocations: 434.6 kB / 391.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003615/0.5715, allocations: 0.8863 MB / 392.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004632/0.5761, allocations: 0.7608 MB / 393 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.5897, allocations: 5.611 MB / 398.6 MB, free: 1.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-05/0.5898, allocations: 4 kB / 398.6 MB, free: 1.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.34e-06/0.5898, allocations: 1.125 kB / 398.6 MB, free: 1.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0005233/0.5904, allocations: 0 / 398.6 MB, free: 1.512 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.01869/0.6091, allocations: 3.996 MB / 402.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.254e-05/0.6092, allocations: 8.656 kB / 402.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005626/0.6148, allocations: 0.6842 MB / 403.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009578/0.6244, allocations: 2.384 MB / 405.7 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006246/0.6252, allocations: 266.2 kB / 405.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002178/0.6274, allocations: 340 kB / 406.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02043/0.6478, allocations: 4.444 MB / 410.7 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000337/0.6483, allocations: 11.91 kB / 410.7 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00199/0.6503, allocations: 136 kB / 410.9 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002854/0.6506, allocations: 166.7 kB / 411 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01388/0.6645, allocations: 3.735 MB / 414.8 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04408/0.7087, allocations: 14.73 MB / 429.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007417/0.7162, allocations: 5.598 MB / 435.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00358/0.7198, allocations: 1.591 MB / 436.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.7309, allocations: 4.24 MB / 440.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.126e-05/0.7311, allocations: 43.88 kB / 441 MB, free: 8.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 6.402e-06/0.7311, allocations: 0 / 441 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.0147/0.7458, allocations: 5.693 MB / 446.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.746, allocations: 64.72 kB / 446.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006596/0.7526, allocations: 2.099 MB / 448.8 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003799/0.753, allocations: 49.7 kB / 448.9 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001955/0.755, allocations: 1.673 MB / 450.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008603/0.7558, allocations: 471 kB / 451 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.7561, allocations: 36 kB / 451 MB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002745/0.7564, allocations: 377.9 kB / 451.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.7581, allocations: 0.7223 MB / 452.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.7602, allocations: 1.36 MB / 453.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.7622, allocations: 0.9667 MB / 454.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.024e-05/0.7623, allocations: 4 kB / 454.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005738/0.768, allocations: 2.581 MB / 457 MB, free: 7.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/0.7681, allocations: 23.97 kB / 457.1 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.746e-05/0.7682, allocations: 23.94 kB / 457.1 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/0.7688, allocations: 190.5 kB / 457.3 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.7706, allocations: 459.2 kB / 457.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.7746, allocations: 3.506 MB / 461.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.7772, allocations: 119.7 kB / 461.3 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004053/0.7777, allocations: 76 kB / 461.4 MB, free: 3.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * 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 (224): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003457/0.7811, allocations: 1.055 MB / 462.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/0.7822, allocations: 213.4 kB / 462.7 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005112/0.7873, allocations: 2.271 MB / 464.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.7874, allocations: 12 kB / 465 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/0.7874, allocations: 9.75 kB / 465 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.7874, allocations: 7.969 kB / 465 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.8016, allocations: 5.298 MB / 470.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.8017, allocations: 192 / 470.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.8028, allocations: 227.7 kB / 470.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009237/0.8037, allocations: 323.3 kB / 470.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.8039, allocations: 32 kB / 470.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00854/0.8125, allocations: 7.542 MB / 478.4 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.8125, allocations: 4.031 kB / 478.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00687/0.8194, allocations: 3.277 MB / 481.7 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/0.8212, allocations: 474.2 kB / 482.1 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008858/0.8221, allocations: 28 kB / 482.2 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.8238, allocations: 67.92 kB / 482.2 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.8241, allocations: 103.3 kB / 482.3 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.8242, allocations: 35.98 kB / 482.4 MB, free: 13.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003855/0.8281, allocations: 1.424 MB / 483.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.8281, allocations: 0 / 483.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004437/0.8325, allocations: 0.5742 MB / 484.4 MB, free: 11.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (smpm.inertiaRotor.w,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,quadraticSpeedDependentTorque.phi,currentController.PI_d.x,currentController.PI_q.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007362/0.8333, allocations: 179.9 kB / 484.5 MB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004782/0.8381, allocations: 2.136 MB / 486.7 MB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.8381, allocations: 0 / 486.7 MB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002685/0.8408, allocations: 1.421 MB / 488.1 MB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/0.8456, allocations: 0.5438 MB / 488.6 MB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/0.8641, allocations: 7.393 MB / 496 MB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004517/0.8686, allocations: 2.373 MB / 498.4 MB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.87, allocations: 167.4 kB / 498.6 MB, free: 13.1 MB / 414.1 MB Notification: Performance of SimCode: time 3.937e-06/0.87, allocations: 3.938 kB / 498.6 MB, free: 13.09 MB / 414.1 MB Notification: Performance of Templates: time 0.4124/1.282, allocations: 99.8 MB / 0.5843 GB, free: 108.5 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSourceCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSourceCalcHelperMain.o] Error 1