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.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 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.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0009521/0.0009521, allocations: 89.23 kB / 17.58 MB, free: 6.219 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.0009843/0.0009843, allocations: 187.8 kB / 18.48 MB, free: 5.379 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.741/1.741, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004551/0.0004551, allocations: 8 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, 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.SMPM_OpenCircuit): time 0.02863/0.1365, allocations: 26.51 MB / 355.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01922/0.1558, allocations: 8.019 MB / 363.5 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006825/0.1627, allocations: 155.5 kB / 363.7 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005693/0.1684, allocations: 1.255 MB / 364.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009607/0.178, allocations: 2.426 MB / 367.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004603/0.1827, allocations: 1.067 MB / 368.4 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0174/0.2001, allocations: 9.935 MB / 378.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2786/0.4788, allocations: 9.979 MB / 388.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009631/0.4885, allocations: 3.132 MB / 391.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/0.4998, allocations: 3.635 MB / 395.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003335/0.5031, allocations: 478.2 kB / 395.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005675/0.5088, allocations: 0.8028 MB / 396.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002138/0.511, allocations: 1.557 MB / 397.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004047/0.5151, allocations: 1.595 MB / 399.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.531, allocations: 13.1 MB / 412.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.958e-06/0.531, allocations: 0 / 412.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.531, allocations: 2.844 kB / 412.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005837/0.5316, allocations: 0 / 412.6 MB, free: 6.547 MB / 318.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.02629/0.5579, allocations: 8.268 MB / 420.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.558, allocations: 8.719 kB / 420.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02848/0.5865, allocations: 5.274 MB / 426.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/0.6011, allocations: 4.572 MB / 430.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006481/0.6019, allocations: 0.5338 MB / 431.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004806/0.6067, allocations: 0.711 MB / 432 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03372/0.6404, allocations: 11.26 MB / 443.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002418/0.6407, allocations: 15.81 kB / 443.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001313/0.6421, allocations: 301.9 kB / 443.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004446/0.6425, allocations: 447 kB / 444 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02642/0.6689, allocations: 10.75 MB / 454.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07859/0.7476, allocations: 38.08 MB / 492.8 MB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02174/0.7694, allocations: 28.09 MB / 0.5087 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004879/0.7743, allocations: 2.636 MB / 0.5113 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/0.7899, allocations: 7.955 MB / 0.5191 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.79, allocations: 52.56 kB / 0.5191 GB, free: 5.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=217): time 4.398e-06/0.79, allocations: 0 / 0.5191 GB, free: 5.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=233): time 0.0274/0.8174, allocations: 11.08 MB / 0.5299 GB, free: 10.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002244/0.8197, allocations: 1.915 MB / 0.5318 GB, free: 8.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009375/0.8292, allocations: 3.787 MB / 0.5355 GB, free: 4.504 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00057/0.8298, allocations: 65.7 kB / 0.5356 GB, free: 4.434 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002895/0.8327, allocations: 3.544 MB / 0.539 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.8339, allocations: 0.8287 MB / 0.5398 GB, free: 52 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.268/1.102, allocations: 96.83 kB / 0.5399 GB, free: 150.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0006981/1.103, allocations: 0.4947 MB / 0.5404 GB, free: 150.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004754/1.107, allocations: 1.874 MB / 0.5422 GB, free: 150.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004628/1.112, allocations: 4.373 MB / 0.5465 GB, free: 147.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/1.116, allocations: 2.818 MB / 0.5493 GB, free: 146.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-05/1.116, allocations: 24.19 kB / 0.5493 GB, free: 146.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01334/1.13, allocations: 6.946 MB / 0.5561 GB, free: 144.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.13, allocations: 47.02 kB / 0.5561 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/1.13, allocations: 86.62 kB / 0.5562 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/1.132, allocations: 0.7492 MB / 0.5569 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/1.136, allocations: 1.116 MB / 0.558 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007138/1.143, allocations: 5.214 MB / 0.5631 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004095/1.147, allocations: 306.4 kB / 0.5634 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004915/1.148, allocations: 273.6 kB / 0.5637 GB, free: 140.7 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.005245/1.153, allocations: 2.53 MB / 0.5661 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/1.154, allocations: 390 kB / 0.5665 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00712/1.161, allocations: 4.262 MB / 0.5707 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/1.161, allocations: 25.84 kB / 0.5707 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/1.161, allocations: 14.5 kB / 0.5707 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/1.161, allocations: 13.38 kB / 0.5707 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/1.181, allocations: 14.26 MB / 0.5846 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/1.181, allocations: 8 kB / 0.5847 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/1.182, allocations: 482.5 kB / 0.5851 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/1.184, allocations: 0.694 MB / 0.5858 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/1.184, allocations: 67.66 kB / 0.5859 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007043/1.191, allocations: 6.943 MB / 0.5926 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001315/1.193, allocations: 1.859 MB / 0.5945 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008892/1.201, allocations: 6.708 MB / 0.601 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/1.204, allocations: 0.7926 MB / 0.6018 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/1.204, allocations: 63.98 kB / 0.6018 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/1.206, allocations: 167.9 kB / 0.602 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004161/1.206, allocations: 222.2 kB / 0.6022 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.206, allocations: 91.97 kB / 0.6023 GB, free: 112.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003896/1.21, allocations: 2.478 MB / 0.6047 GB, free: 110.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.004e-06/1.21, allocations: 0 / 0.6047 GB, free: 110.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005863/1.216, allocations: 1.297 MB / 0.606 GB, free: 109 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.0005008/1.217, allocations: 218.9 kB / 0.6062 GB, free: 108.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007317/1.224, allocations: 5.106 MB / 0.6112 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.224, allocations: 0 / 0.6112 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003113/1.227, allocations: 2.42 MB / 0.6135 GB, free: 101.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007924/1.235, allocations: 0.9409 MB / 0.6145 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/1.261, allocations: 14.67 MB / 0.6288 GB, free: 85.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00385/1.265, allocations: 4.378 MB / 0.6331 GB, free: 80.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.266, allocations: 335.4 kB / 0.6334 GB, free: 80.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/1.266, allocations: 0 / 0.6334 GB, free: 80.6 MB / 446.1 MB Notification: Performance of Templates: time 0.4832/1.749, allocations: 199.8 MB / 0.8285 GB, free: 39.59 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuitCalcHelperMain.o] Error 1