Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 95.89 kB / 16.96 MB, free: 6.41 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.001326/0.001326, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.629/1.629, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 50.41 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00608/0.1409, allocations: 5.721 MB / 357.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.1446, allocations: 2.173 MB / 359.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.145, allocations: 20 kB / 359.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.1456, allocations: 278.5 kB / 360.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.147, allocations: 0.5713 MB / 360.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.1489, allocations: 0.9535 MB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.1501, allocations: 1.02 MB / 362.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002594/0.1527, allocations: 1.565 MB / 364.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.1532, allocations: 402.4 kB / 364.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/0.1538, allocations: 0.529 MB / 365.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.638e-05/0.1539, allocations: 48 kB / 365.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008711/0.1548, allocations: 355.6 kB / 365.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.1549, allocations: 183.2 kB / 365.7 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.1551, allocations: 213.1 kB / 365.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.1564, allocations: 1.247 MB / 367.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1564, allocations: 0 / 367.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1564, allocations: 0 / 367.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1564, allocations: 4 kB / 367.1 MB, free: 4.68 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005386/0.1618, allocations: 1.831 MB / 369 MB, free: 2.797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1618, allocations: 15.97 kB / 369 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.1651, allocations: 0.5138 MB / 369.5 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1654, allocations: 305.5 kB / 369.8 MB, free: 1.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.126e-05/0.1655, allocations: 102.5 kB / 369.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.1657, allocations: 124 kB / 370 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.168, allocations: 1.303 MB / 371.3 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.168, allocations: 15.89 kB / 371.3 MB, free: 360 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.1681, allocations: 48 kB / 371.4 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.1682, allocations: 36 kB / 371.4 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2532/0.4213, allocations: 1.209 MB / 372.6 MB, free: 23.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00783/0.4292, allocations: 4.231 MB / 376.8 MB, free: 21.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.4318, allocations: 2.447 MB / 379.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009904/0.4328, allocations: 0.5078 MB / 379.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.4329, allocations: 110.8 kB / 379.9 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.433, allocations: 47.97 kB / 380 MB, free: 19.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 3.026e-06/0.433, allocations: 0 / 380 MB, free: 19.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.01178/0.4448, allocations: 4.037 MB / 384 MB, free: 17.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.4449, allocations: 91.05 kB / 384.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/0.4456, allocations: 394.7 kB / 384.5 MB, free: 17.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.4457, allocations: 50.62 kB / 384.5 MB, free: 17.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.4461, allocations: 450.2 kB / 385 MB, free: 16.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.4464, allocations: 423.4 kB / 385.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.4465, allocations: 33.34 kB / 385.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4467, allocations: 369.3 kB / 385.8 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.4478, allocations: 457.9 kB / 386.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.4492, allocations: 0.7127 MB / 386.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.4505, allocations: 0.5291 MB / 387.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.4505, allocations: 2.25 kB / 387.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003255/0.4538, allocations: 1.509 MB / 389 MB, free: 14.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.4538, allocations: 8.188 kB / 389 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.4538, allocations: 6.812 kB / 389 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/0.4544, allocations: 201.5 kB / 389.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.4557, allocations: 299.4 kB / 389.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.4591, allocations: 3.977 MB / 393.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009039/0.46, allocations: 92.58 kB / 393.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/0.4601, allocations: 58.53 kB / 393.6 MB, free: 11.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004717/0.4606, allocations: 266.8 kB / 393.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.4608, allocations: 64.03 kB / 393.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.4637, allocations: 1.392 MB / 395.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.4638, allocations: 17.02 kB / 395.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.4638, allocations: 7.094 kB / 395.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.4638, allocations: 9.812 kB / 395.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/0.4681, allocations: 2.654 MB / 398 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4681, allocations: 3.969 kB / 398 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008651/0.469, allocations: 231.2 kB / 398.2 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/0.4694, allocations: 170.9 kB / 398.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/0.4694, allocations: 31.75 kB / 398.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/0.4722, allocations: 3.78 MB / 402.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4722, allocations: 0 / 402.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.4754, allocations: 1.935 MB / 404.1 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.4757, allocations: 224.1 kB / 404.4 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.092e-05/0.4758, allocations: 27.98 kB / 404.4 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/0.4764, allocations: 72.02 kB / 404.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.4766, allocations: 100.8 kB / 404.5 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/0.4767, allocations: 35.98 kB / 404.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.4769, allocations: 263.3 kB / 404.8 MB, free: 2.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4769, allocations: 7.938 kB / 404.8 MB, free: 2.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001164/0.4781, allocations: 304 kB / 405.1 MB, free: 2.285 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (106): * Single equations (assignments): 104 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002724/0.4784, allocations: 172.7 kB / 405.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00262/0.481, allocations: 1.497 MB / 406.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.481, allocations: 0 / 406.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.4825, allocations: 0.8836 MB / 407.7 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.4831, allocations: 64.81 kB / 407.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.4879, allocations: 2.434 MB / 410.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008388/0.4888, allocations: 1.005 MB / 411.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.4892, allocations: 95.39 kB / 411.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4892, allocations: 192 / 411.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of Templates: time 0.02986/0.5191, allocations: 19.44 MB / 430.7 MB, free: 8.582 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.o] Error 1