Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.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_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001468/0.001468, allocations: 93.55 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.002062, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.87/1.87, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002615, allocations: 4 kB / 307.3 MB, free: 1.375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1408, allocations: 51.49 MB / 358.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA): time 0.2747/0.4156, allocations: 24.91 MB / 383.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.4381, allocations: 7.809 MB / 391.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007863/0.446, allocations: 196.2 kB / 391.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006255/0.4523, allocations: 1.357 MB / 393.1 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.4629, allocations: 2.291 MB / 395.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.4676, allocations: 1.244 MB / 396.6 MB, free: 376 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0185/0.4861, allocations: 10.94 MB / 407.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03535/0.5215, allocations: 17.37 MB / 424.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009185/0.5308, allocations: 3.827 MB / 428.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009973/0.5408, allocations: 4.409 MB / 433.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003239/0.5441, allocations: 0.5977 MB / 433.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006057/0.5502, allocations: 0.9683 MB / 434.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003527/0.5537, allocations: 1.795 MB / 436.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005435/0.5592, allocations: 1.962 MB / 438.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02337/0.5826, allocations: 17.42 MB / 455.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.5827, allocations: 0 / 455.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.5827, allocations: 0 / 455.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007277/0.5834, allocations: 4 kB / 455.9 MB, free: 11.32 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2599 * Number of variables: 2599 Notification: Performance of Generate backend data structure: time 0.03476/0.6182, allocations: 9.922 MB / 465.8 MB, free: 1.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.6183, allocations: 15.97 kB / 465.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03171/0.65, allocations: 5.622 MB / 471.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01895/0.669, allocations: 6.064 MB / 477.5 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009044/0.6699, allocations: 0.7025 MB / 478.2 MB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004726/0.6747, allocations: 0.9218 MB / 479.2 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04779/0.7225, allocations: 15 MB / 494.2 MB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004278/0.723, allocations: 15.8 kB / 494.2 MB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004597/0.7276, allocations: 392 kB / 494.6 MB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/0.7282, allocations: 0.5117 MB / 495.1 MB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03863/0.7669, allocations: 13.66 MB / 0.4968 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5297/1.297, allocations: 48.15 MB / 0.5438 GB, free: 109.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02452/1.321, allocations: 28.54 MB / 0.5717 GB, free: 84.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006858/1.328, allocations: 3.066 MB / 0.5747 GB, free: 84.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005808/1.329, allocations: 324.5 kB / 0.575 GB, free: 83.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/1.329, allocations: 70.05 kB / 0.5751 GB, free: 83.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=384): time 7.214e-06/1.329, allocations: 0 / 0.5751 GB, free: 83.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=392): time 0.03198/1.361, allocations: 15.59 MB / 0.5903 GB, free: 79.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/1.361, allocations: 92.27 kB / 0.5904 GB, free: 79.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005745/1.367, allocations: 3.572 MB / 0.5939 GB, free: 78.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002336/1.367, allocations: 93.17 kB / 0.594 GB, free: 78.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002264/1.369, allocations: 4.039 MB / 0.5979 GB, free: 75.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.37, allocations: 1.348 MB / 0.5992 GB, free: 74.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/1.371, allocations: 117.7 kB / 0.5993 GB, free: 74.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002829/1.371, allocations: 0.5488 MB / 0.5999 GB, free: 73.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/1.374, allocations: 2.571 MB / 0.6024 GB, free: 72.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004616/1.379, allocations: 5.054 MB / 0.6073 GB, free: 67.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004467/1.383, allocations: 3.753 MB / 0.611 GB, free: 65.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.803e-05/1.383, allocations: 27.64 kB / 0.611 GB, free: 65.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01205/1.395, allocations: 8.572 MB / 0.6194 GB, free: 61.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.427e-05/1.396, allocations: 43 kB / 0.6194 GB, free: 61.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/1.396, allocations: 87.27 kB / 0.6195 GB, free: 61.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/1.398, allocations: 0.8438 MB / 0.6203 GB, free: 60.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/1.402, allocations: 1.373 MB / 0.6217 GB, free: 58.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008308/1.41, allocations: 7.097 MB / 0.6286 GB, free: 51.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004605/1.415, allocations: 331.2 kB / 0.6289 GB, free: 51.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007033/1.415, allocations: 307.9 kB / 0.6292 GB, free: 51.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 378 * 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 (722): * Single equations (assignments): 721 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00642/1.422, allocations: 3.51 MB / 0.6326 GB, free: 47.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009851/1.423, allocations: 408.5 kB / 0.633 GB, free: 47.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008692/1.432, allocations: 5.972 MB / 0.6388 GB, free: 41.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/1.432, allocations: 44 kB / 0.6389 GB, free: 41.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.432, allocations: 4 kB / 0.6389 GB, free: 41.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.262e-05/1.432, allocations: 23.92 kB / 0.6389 GB, free: 41.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/1.454, allocations: 15.21 MB / 0.6538 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.454, allocations: 12.09 kB / 0.6538 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/1.456, allocations: 0.6902 MB / 0.6545 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/1.458, allocations: 0.6981 MB / 0.6551 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/1.458, allocations: 91.92 kB / 0.6552 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007193/1.465, allocations: 6.145 MB / 0.6612 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/1.465, allocations: 8 kB / 0.6612 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.477, allocations: 8.69 MB / 0.6697 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/1.479, allocations: 0.8863 MB / 0.6706 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/1.48, allocations: 75.98 kB / 0.6707 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/1.481, allocations: 183.8 kB / 0.6708 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004745/1.482, allocations: 266.8 kB / 0.6711 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.482, allocations: 116 kB / 0.6712 GB, free: 7.555 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003578/1.485, allocations: 2.384 MB / 0.6735 GB, free: 5.184 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.485, allocations: 0 / 0.6735 GB, free: 5.184 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006559/1.492, allocations: 1.558 MB / 0.675 GB, free: 3.629 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 1 (smpmQS.phiMechanical) * 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 (377): * Single equations (assignments): 376 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,59.4%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007497/1.493, allocations: 273.4 kB / 0.6753 GB, free: 3.359 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01069/1.503, allocations: 6.462 MB / 0.6816 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.503, allocations: 4 kB / 0.6816 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004779/1.508, allocations: 2.935 MB / 0.6845 GB, free: 9.949 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00503/1.513, allocations: 0.9084 MB / 0.6854 GB, free: 9.059 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0354/1.549, allocations: 18.75 MB / 0.7037 GB, free: 6.211 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006553/1.555, allocations: 5.791 MB / 0.7093 GB, free: 384 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2644/1.82, allocations: 384 kB / 0.7097 GB, free: 159.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.593e-06/1.82, allocations: 0.6562 kB / 0.7097 GB, free: 159.2 MB / 478.1 MB Notification: Performance of Templates: time 0.2299/2.05, allocations: 149.9 MB / 0.8561 GB, free: 39.18 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.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_MTPACalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.o] Error 1