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.SMPM_OpenCircuit.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.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 91.88 kB / 16.95 MB, free: 5.953 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.00112/0.00112, allocations: 177.6 kB / 17.84 MB, free: 5.621 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.557/1.557, allocations: 223.2 MB / 241.9 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 4 kB / 301.5 MB, free: 6.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 50.43 MB / 351.9 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.3013/0.4325, allocations: 26.59 MB / 378.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02054/0.4531, allocations: 8.022 MB / 386.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008894/0.4621, allocations: 171.2 kB / 386.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00662/0.4687, allocations: 1.261 MB / 387.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.4801, allocations: 2.448 MB / 390.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004559/0.4847, allocations: 1.065 MB / 391.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01805/0.5028, allocations: 9.929 MB / 401.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01941/0.5222, allocations: 9.991 MB / 411.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006787/0.5291, allocations: 3.134 MB / 414.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007563/0.5367, allocations: 3.638 MB / 418.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002145/0.5388, allocations: 480 kB / 418.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004857/0.5437, allocations: 0.7964 MB / 419.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001941/0.5457, allocations: 1.561 MB / 421 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003658/0.5493, allocations: 1.588 MB / 422.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0187/0.568, allocations: 13.19 MB / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.5681, allocations: 0 / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5681, allocations: 0 / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005426/0.5687, allocations: 0 / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.0274/0.5961, allocations: 8.254 MB / 444 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5961, allocations: 12.03 kB / 444 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02855/0.6247, allocations: 5.277 MB / 449.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/0.6381, allocations: 4.884 MB / 454.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006671/0.6388, allocations: 0.5338 MB / 454.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003472/0.6423, allocations: 0.7107 MB / 455.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03187/0.6742, allocations: 11.27 MB / 466.7 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002635/0.6745, allocations: 23.75 kB / 466.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001919/0.6764, allocations: 296 kB / 467 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004668/0.6769, allocations: 443 kB / 467.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02841/0.7053, allocations: 10.76 MB / 478.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08551/0.7909, allocations: 38.09 MB / 0.5042 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02666/0.8176, allocations: 28.06 MB / 0.5316 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2996/1.117, allocations: 2.633 MB / 0.5342 GB, free: 138.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01715/1.134, allocations: 7.935 MB / 0.5419 GB, free: 135.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/1.134, allocations: 61.5 kB / 0.542 GB, free: 135.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.749e-06/1.135, allocations: 0 / 0.542 GB, free: 135.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.02597/1.16, allocations: 11.07 MB / 0.5528 GB, free: 130.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001939/1.162, allocations: 1.912 MB / 0.5546 GB, free: 129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006705/1.169, allocations: 3.79 MB / 0.5584 GB, free: 127.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005747/1.17, allocations: 65.58 kB / 0.5584 GB, free: 127.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002265/1.172, allocations: 3.553 MB / 0.5619 GB, free: 124.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.173, allocations: 0.8234 MB / 0.5627 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/1.173, allocations: 99.81 kB / 0.5628 GB, free: 124.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002428/1.174, allocations: 0.4978 MB / 0.5633 GB, free: 123.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/1.177, allocations: 1.869 MB / 0.5651 GB, free: 123 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003752/1.18, allocations: 4.378 MB / 0.5694 GB, free: 118.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003552/1.184, allocations: 2.815 MB / 0.5721 GB, free: 117.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-05/1.184, allocations: 30.41 kB / 0.5721 GB, free: 117.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0121/1.196, allocations: 6.94 MB / 0.5789 GB, free: 114.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/1.196, allocations: 43.47 kB / 0.579 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/1.196, allocations: 86.38 kB / 0.579 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/1.198, allocations: 0.7594 MB / 0.5798 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/1.201, allocations: 1.113 MB / 0.5809 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/1.207, allocations: 5.225 MB / 0.586 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/1.212, allocations: 311.1 kB / 0.5863 GB, free: 107.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000699/1.212, allocations: 280 kB / 0.5865 GB, free: 107.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * 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: 1 * 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: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005098/1.217, allocations: 2.518 MB / 0.589 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.219, allocations: 387.4 kB / 0.5894 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00717/1.226, allocations: 4.262 MB / 0.5935 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/1.226, allocations: 28 kB / 0.5936 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.226, allocations: 8 kB / 0.5936 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.642e-05/1.226, allocations: 11.95 kB / 0.5936 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02363/1.249, allocations: 14.26 MB / 0.6075 GB, free: 85.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.25, allocations: 12 kB / 0.6075 GB, free: 85.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/1.251, allocations: 484.1 kB / 0.608 GB, free: 85.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001746/1.253, allocations: 0.6971 MB / 0.6087 GB, free: 84.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/1.253, allocations: 63.98 kB / 0.6087 GB, free: 84.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007061/1.26, allocations: 6.936 MB / 0.6155 GB, free: 77.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001298/1.262, allocations: 1.875 MB / 0.6173 GB, free: 75.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009977/1.272, allocations: 6.707 MB / 0.6239 GB, free: 68.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002814/1.274, allocations: 0.7967 MB / 0.6247 GB, free: 67.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/1.276, allocations: 60 kB / 0.6247 GB, free: 67.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002772/1.279, allocations: 171.9 kB / 0.6249 GB, free: 67.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004854/1.279, allocations: 213.5 kB / 0.6251 GB, free: 67.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002413/1.279, allocations: 91.98 kB / 0.6252 GB, free: 67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005367/1.285, allocations: 2.482 MB / 0.6276 GB, free: 64.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.285, allocations: 0 / 0.6276 GB, free: 64.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00727/1.292, allocations: 1.296 MB / 0.6289 GB, free: 63.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.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 (241): * Single equations (assignments): 238 * 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: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009346/1.293, allocations: 229.9 kB / 0.6291 GB, free: 63.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009279/1.302, allocations: 5.09 MB / 0.634 GB, free: 57.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.031e-05/1.302, allocations: 8.062 kB / 0.6341 GB, free: 57.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004166/1.307, allocations: 2.401 MB / 0.6364 GB, free: 55.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007858/1.315, allocations: 0.951 MB / 0.6373 GB, free: 54.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03048/1.345, allocations: 14.67 MB / 0.6516 GB, free: 39.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005252/1.35, allocations: 4.381 MB / 0.6559 GB, free: 35.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/1.352, allocations: 331.4 kB / 0.6562 GB, free: 34.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.004e-06/1.352, allocations: 0 / 0.6562 GB, free: 34.89 MB / 446.1 MB Notification: Performance of Templates: time 0.5848/1.937, allocations: 199.8 MB / 0.8514 GB, free: 3.16 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.SMPM_OpenCircuitCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.o] Error 1