Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 97.08 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.001112/0.001112, allocations: 179.7 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.531/1.531, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002657, allocations: 8.219 kB / 301.5 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 50.41 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005436/0.1324, allocations: 4.323 MB / 356.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.1365, allocations: 1.885 MB / 358.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/0.1369, allocations: 16 kB / 358.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.1376, allocations: 230.9 kB / 358.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.1391, allocations: 473.8 kB / 358.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.1411, allocations: 0.8529 MB / 359.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.1421, allocations: 0.6887 MB / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.1442, allocations: 1.125 MB / 361.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004722/0.1447, allocations: 278.9 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.1452, allocations: 366.5 kB / 362.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.1452, allocations: 36 kB / 362.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009611/0.1462, allocations: 339.7 kB / 362.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1463, allocations: 127.5 kB / 362.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.1465, allocations: 149.3 kB / 362.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1475, allocations: 0.8922 MB / 363.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1475, allocations: 0 / 363.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1475, allocations: 0 / 363.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.1476, allocations: 4 kB / 363.6 MB, free: 8.191 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003862/0.1514, allocations: 1.342 MB / 365 MB, free: 6.797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1515, allocations: 8.031 kB / 365 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.1539, allocations: 394.7 kB / 365.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.1542, allocations: 250.1 kB / 365.6 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.1543, allocations: 62 kB / 365.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.1544, allocations: 91.89 kB / 365.7 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.1561, allocations: 0.8875 MB / 366.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.1562, allocations: 7.938 kB / 366.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/0.1563, allocations: 32 kB / 366.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.1563, allocations: 20 kB / 366.7 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.158, allocations: 0.8316 MB / 367.5 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/0.1625, allocations: 2.954 MB / 370.5 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.258/0.4206, allocations: 1.011 MB / 371.5 MB, free: 24.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009639/0.4216, allocations: 247.9 kB / 371.7 MB, free: 24.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.4217, allocations: 95.7 kB / 371.8 MB, free: 24.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.4218, allocations: 43 kB / 371.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.286e-06/0.4218, allocations: 0.6562 kB / 371.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008716/0.4305, allocations: 2.692 MB / 374.6 MB, free: 23.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4306, allocations: 87.45 kB / 374.6 MB, free: 23.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.431, allocations: 315.2 kB / 375 MB, free: 23.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.431, allocations: 36.45 kB / 375 MB, free: 23.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.4313, allocations: 363.5 kB / 375.3 MB, free: 22.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.4314, allocations: 211.4 kB / 375.5 MB, free: 22.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.4315, allocations: 18.75 kB / 375.6 MB, free: 22.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.4316, allocations: 351.6 kB / 375.9 MB, free: 22.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007952/0.4324, allocations: 292.7 kB / 376.2 MB, free: 22.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009327/0.4333, allocations: 0.5296 MB / 376.7 MB, free: 22.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008659/0.4342, allocations: 358.9 kB / 377.1 MB, free: 21.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.4342, allocations: 2.969 kB / 377.1 MB, free: 21.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002208/0.4364, allocations: 0.95 MB / 378 MB, free: 21.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.4365, allocations: 7.219 kB / 378 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4365, allocations: 7.719 kB / 378 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.4368, allocations: 78.31 kB / 378.1 MB, free: 21.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008766/0.4376, allocations: 213.9 kB / 378.3 MB, free: 21.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.4393, allocations: 2.66 MB / 381 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.44, allocations: 77.91 kB / 381.1 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/0.4401, allocations: 39.44 kB / 381.1 MB, free: 18.76 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003259/0.4404, allocations: 214.8 kB / 381.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.4405, allocations: 39.53 kB / 381.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.4426, allocations: 0.7983 MB / 382.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4426, allocations: 10.48 kB / 382.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4426, allocations: 1.25 kB / 382.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4427, allocations: 2.906 kB / 382.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.4457, allocations: 1.471 MB / 383.6 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4458, allocations: 1 kB / 383.6 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.4465, allocations: 145.9 kB / 383.8 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002018/0.4467, allocations: 61.45 kB / 383.8 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.4467, allocations: 20.31 kB / 383.9 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.4483, allocations: 2.643 MB / 386.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4483, allocations: 0.875 kB / 386.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.4511, allocations: 1.16 MB / 387.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.4513, allocations: 160.2 kB / 387.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.254e-05/0.4514, allocations: 10.56 kB / 387.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.4519, allocations: 62.16 kB / 387.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.452, allocations: 47.73 kB / 387.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.4521, allocations: 22.25 kB / 388 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.4524, allocations: 213.7 kB / 388.2 MB, free: 14 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4524, allocations: 0 / 388.2 MB, free: 14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001283/0.4537, allocations: 178.5 kB / 388.3 MB, free: 13.97 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (58): * Single equations (assignments): 56 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003683/0.454, allocations: 163.8 kB / 388.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002383/0.4564, allocations: 0.959 MB / 389.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4564, allocations: 0 / 389.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.4576, allocations: 0.5776 MB / 390 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.4581, allocations: 49.94 kB / 390.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.461, allocations: 1.586 MB / 391.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.4615, allocations: 0.8807 MB / 392.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.4618, allocations: 67.52 kB / 392.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4618, allocations: 0 / 392.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Templates: time 0.01724/0.479, allocations: 13.18 MB / 405.8 MB, free: 2.145 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSectionCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.o] Error 1