Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 89.61 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 197.9 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.3 MB / 246.6 MB, free: 10.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002778, allocations: 7.984 kB / 307.3 MB, free: 1.367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 51.49 MB / 358.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006182/0.1546, allocations: 4.328 MB / 363.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.1594, allocations: 1.947 MB / 365.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.1598, allocations: 16 kB / 365.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007474/0.1606, allocations: 226.9 kB / 365.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.1618, allocations: 338.2 kB / 365.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.1638, allocations: 0.9859 MB / 366.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.1649, allocations: 0.6924 MB / 367.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.1671, allocations: 1.137 MB / 368.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005936/0.1677, allocations: 278.9 kB / 368.7 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.1682, allocations: 362.6 kB / 369.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.1683, allocations: 36 kB / 369.1 MB, free: 3.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.1694, allocations: 367.6 kB / 369.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1695, allocations: 119.5 kB / 369.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.1697, allocations: 145.4 kB / 369.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1708, allocations: 0.9 MB / 370.6 MB, free: 1.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.1708, allocations: 8 kB / 370.6 MB, free: 1.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.1708, allocations: 4 kB / 370.7 MB, free: 1.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.1709, allocations: 0 / 370.7 MB, free: 1.973 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.00412/0.175, allocations: 1.35 MB / 372 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1751, allocations: 16.02 kB / 372 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.1775, allocations: 382.7 kB / 372.4 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3686/0.5461, allocations: 258.6 kB / 372.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.5464, allocations: 63.25 kB / 372.7 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004505/0.5469, allocations: 82.53 kB / 372.8 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.5494, allocations: 0.8848 MB / 373.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.5494, allocations: 5.375 kB / 373.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.5495, allocations: 39.98 kB / 373.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/0.5496, allocations: 19.91 kB / 373.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.5521, allocations: 0.8279 MB / 374.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006294/0.5584, allocations: 3.047 MB / 377.6 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.5598, allocations: 1.007 MB / 378.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006303/0.5605, allocations: 249.8 kB / 378.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.5607, allocations: 180.7 kB / 379 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5607, allocations: 36.62 kB / 379.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.396e-06/0.5607, allocations: 3.938 kB / 379.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008957/0.5697, allocations: 2.69 MB / 381.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.5698, allocations: 84.98 kB / 381.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.5703, allocations: 320.1 kB / 382.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.5704, allocations: 35.98 kB / 382.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.5707, allocations: 357.6 kB / 382.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.5709, allocations: 216.8 kB / 382.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.571, allocations: 15.66 kB / 382.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.5711, allocations: 357 kB / 383.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009202/0.5721, allocations: 290.8 kB / 383.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.5732, allocations: 0.5303 MB / 383.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009666/0.5742, allocations: 361.7 kB / 384.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.5742, allocations: 2.531 kB / 384.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002532/0.5767, allocations: 0.9499 MB / 385.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.5768, allocations: 12.44 kB / 385.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.5768, allocations: 6.969 kB / 385.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.5771, allocations: 71.91 kB / 385.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/0.5781, allocations: 213.3 kB / 385.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.5798, allocations: 2.653 MB / 388.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/0.5805, allocations: 84.36 kB / 388.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/0.5806, allocations: 35.28 kB / 388.3 MB, free: 9.637 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.0003526/0.581, allocations: 213.8 kB / 388.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.5811, allocations: 44.27 kB / 388.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.5834, allocations: 0.7934 MB / 389.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.5834, allocations: 6.094 kB / 389.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5834, allocations: 1.094 kB / 389.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.5834, allocations: 6.812 kB / 389.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.5867, allocations: 1.471 MB / 390.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.5867, allocations: 0 / 390.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007072/0.5874, allocations: 152.7 kB / 391 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002336/0.5877, allocations: 69.78 kB / 391.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.5877, allocations: 15.69 kB / 391.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.5894, allocations: 2.647 MB / 393.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5894, allocations: 0.6094 kB / 393.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.5922, allocations: 1.163 MB / 394.9 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.5925, allocations: 166.9 kB / 395 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.5925, allocations: 10 kB / 395.1 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/0.593, allocations: 60.34 kB / 395.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.5932, allocations: 50.47 kB / 395.2 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.5933, allocations: 20.12 kB / 395.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.5936, allocations: 214 kB / 395.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5936, allocations: 0 / 395.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009855/0.5945, allocations: 181.4 kB / 395.6 MB, free: 4.836 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.0003929/0.595, allocations: 158.1 kB / 395.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002569/0.5975, allocations: 0.9588 MB / 396.7 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5975, allocations: 0.7188 kB / 396.7 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.5987, allocations: 0.5813 MB / 397.3 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.5991, allocations: 44.48 kB / 397.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.6023, allocations: 1.589 MB / 398.9 MB, free: 2.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.6028, allocations: 0.8832 MB / 399.8 MB, free: 2.086 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.603, allocations: 68.08 kB / 399.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of SimCode: time 1.222e-06/0.603, allocations: 0 / 399.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of Templates: time 0.02676/0.6298, allocations: 13.22 MB / 413.1 MB, free: 6.883 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.o] Error 1