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.001309/0.001309, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001304/0.001305, allocations: 194 kB / 18.72 MB, free: 4.762 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.902/1.902, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.00127/0.00127, allocations: 56.14 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1261, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0352/0.1613, allocations: 29.76 MB / 357 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02527/0.1867, allocations: 8.554 MB / 365.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009343/0.1961, allocations: 163.4 kB / 365.7 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01382/0.21, allocations: 4.556 MB / 370.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.2225, allocations: 2.702 MB / 373 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006209/0.2288, allocations: 1.505 MB / 374.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2963/0.5251, allocations: 8.967 MB / 383.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02267/0.5478, allocations: 10.29 MB / 393.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/0.5615, allocations: 3.588 MB / 397.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01278/0.5744, allocations: 4.493 MB / 401.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004896/0.5793, allocations: 0.7312 MB / 402.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007898/0.5872, allocations: 1.088 MB / 403.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005637/0.5929, allocations: 1.962 MB / 405.6 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01393/0.6069, allocations: 4.21 MB / 409.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.6262, allocations: 13.5 MB / 423.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.6263, allocations: 0 / 423.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6263, allocations: 0 / 423.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007991/0.6271, allocations: 0 / 423.3 MB, free: 12.46 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.04696/0.6741, allocations: 9.784 MB / 433.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.39e-05/0.6742, allocations: 8.031 kB / 433.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03099/0.7052, allocations: 5.241 MB / 438.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/0.721, allocations: 4.653 MB / 443 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000729/0.7218, allocations: 0.5387 MB / 443.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003724/0.7256, allocations: 0.7084 MB / 444.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0332/0.7588, allocations: 11.32 MB / 455.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004486/0.7593, allocations: 15.38 kB / 455.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003204/0.7625, allocations: 301.3 kB / 455.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008343/0.7634, allocations: 447 kB / 456.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03279/0.7962, allocations: 10.8 MB / 467.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0894/0.8856, allocations: 37.99 MB / 0.4933 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02713/0.9128, allocations: 28.11 MB / 0.5207 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006533/0.9194, allocations: 2.647 MB / 0.5233 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.348/1.267, allocations: 7.943 MB / 0.5311 GB, free: 150.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/1.268, allocations: 55.98 kB / 0.5311 GB, free: 150.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 5.069e-06/1.268, allocations: 2.969 kB / 0.5311 GB, free: 150.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.02623/1.294, allocations: 10.35 MB / 0.5413 GB, free: 148 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00215/1.296, allocations: 1.918 MB / 0.5431 GB, free: 146.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008396/1.304, allocations: 3.818 MB / 0.5469 GB, free: 144.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007459/1.305, allocations: 67.39 kB / 0.5469 GB, free: 144.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00389/1.309, allocations: 3.55 MB / 0.5504 GB, free: 142.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001444/1.311, allocations: 0.8294 MB / 0.5512 GB, free: 141.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/1.312, allocations: 0.9572 MB / 0.5521 GB, free: 141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/1.312, allocations: 313.8 kB / 0.5524 GB, free: 140.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/1.315, allocations: 1.89 MB / 0.5543 GB, free: 140 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005271/1.32, allocations: 4.392 MB / 0.5586 GB, free: 135.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009667/1.33, allocations: 6.787 MB / 0.5652 GB, free: 130.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/1.33, allocations: 25.16 kB / 0.5652 GB, free: 130.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01526/1.346, allocations: 6.982 MB / 0.572 GB, free: 127.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/1.346, allocations: 46.75 kB / 0.5721 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002701/1.346, allocations: 84.81 kB / 0.5722 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/1.349, allocations: 0.7407 MB / 0.5729 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004211/1.353, allocations: 1.119 MB / 0.574 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008242/1.361, allocations: 5.236 MB / 0.5791 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006938/1.368, allocations: 314.6 kB / 0.5794 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/1.37, allocations: 271.7 kB / 0.5796 GB, free: 124 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008906/1.379, allocations: 2.528 MB / 0.5821 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001959/1.381, allocations: 385.2 kB / 0.5825 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009441/1.39, allocations: 4.267 MB / 0.5866 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.541e-05/1.39, allocations: 27.8 kB / 0.5867 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/1.39, allocations: 12 kB / 0.5867 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.151e-05/1.39, allocations: 11.53 kB / 0.5867 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03202/1.422, allocations: 14.28 MB / 0.6006 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.234e-05/1.422, allocations: 12 kB / 0.6007 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/1.424, allocations: 480.2 kB / 0.6011 GB, free: 103.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/1.427, allocations: 0.7009 MB / 0.6018 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003928/1.427, allocations: 67.98 kB / 0.6019 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008183/1.435, allocations: 6.953 MB / 0.6087 GB, free: 95.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00174/1.437, allocations: 1.856 MB / 0.6105 GB, free: 93.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.449, allocations: 6.74 MB / 0.617 GB, free: 86.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002815/1.451, allocations: 0.7967 MB / 0.6178 GB, free: 85.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001576/1.453, allocations: 63.98 kB / 0.6179 GB, free: 85.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.456, allocations: 159.8 kB / 0.618 GB, free: 85.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006582/1.457, allocations: 229.5 kB / 0.6183 GB, free: 85.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000297/1.457, allocations: 87.98 kB / 0.6183 GB, free: 85.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006287/1.463, allocations: 2.509 MB / 0.6208 GB, free: 82.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.463, allocations: 0 / 0.6208 GB, free: 82.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008919/1.472, allocations: 1.289 MB / 0.6221 GB, free: 81.54 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009766/1.473, allocations: 219.4 kB / 0.6223 GB, free: 81.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009416/1.483, allocations: 5.139 MB / 0.6273 GB, free: 76.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/1.483, allocations: 7.938 kB / 0.6273 GB, free: 76.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004094/1.487, allocations: 2.421 MB / 0.6296 GB, free: 73.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009002/1.496, allocations: 0.9366 MB / 0.6306 GB, free: 72.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03405/1.53, allocations: 15.33 MB / 0.6455 GB, free: 57.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01073/1.541, allocations: 4.382 MB / 0.6498 GB, free: 52.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002074/1.543, allocations: 331.4 kB / 0.6501 GB, free: 52.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.024e-06/1.543, allocations: 0 / 0.6501 GB, free: 52.5 MB / 446.1 MB Notification: Performance of Templates: time 0.5553/2.098, allocations: 200.6 MB / 0.846 GB, free: 15.3 MB / 462.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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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