Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009095/0.0009096, allocations: 91.17 kB / 17.58 MB, free: 5.805 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.0009706/0.000971, allocations: 180.5 kB / 18.48 MB, free: 5.254 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.799/1.799, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004763/0.0004767, allocations: 20.7 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005807/0.129, allocations: 5.125 MB / 334.1 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.1327, allocations: 1.59 MB / 335.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/0.1336, allocations: 39.81 kB / 335.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.1341, allocations: 222.3 kB / 335.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.1352, allocations: 310.2 kB / 336.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.1358, allocations: 223.7 kB / 336.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.1379, allocations: 1.985 MB / 338.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.1401, allocations: 1.856 MB / 340.3 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.1413, allocations: 0.6965 MB / 341 MB, free: 7.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.1424, allocations: 0.879 MB / 341.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.1426, allocations: 128 kB / 342 MB, free: 6.957 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005315/0.1432, allocations: 247.8 kB / 342.3 MB, free: 6.715 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.1436, allocations: 0.4945 MB / 342.7 MB, free: 6.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005255/0.1441, allocations: 432.6 kB / 343.2 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.147, allocations: 3.039 MB / 346.2 MB, free: 2.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.147, allocations: 4 kB / 346.2 MB, free: 2.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1471, allocations: 0 / 346.2 MB, free: 2.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.108e-05/0.1471, allocations: 3.938 kB / 346.2 MB, free: 2.734 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.003832/0.151, allocations: 2.088 MB / 348.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.151, allocations: 11.97 kB / 348.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005792/0.1516, allocations: 237.3 kB / 348.5 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.1533, allocations: 1.157 MB / 349.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.1534, allocations: 168.5 kB / 349.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.1537, allocations: 228 kB / 350.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.1582, allocations: 2.526 MB / 352.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.1582, allocations: 0 / 352.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.1584, allocations: 92 kB / 352.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.689e-05/0.1585, allocations: 56 kB / 352.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.162, allocations: 2.13 MB / 354.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.1731, allocations: 7.643 MB / 362.5 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.1744, allocations: 1.253 MB / 363.8 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009411/0.1754, allocations: 0.6258 MB / 364.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.1754, allocations: 8.562 kB / 364.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.1755, allocations: 43.08 kB / 364.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.796e-06/0.1755, allocations: 0 / 364.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004335/0.1798, allocations: 2.455 MB / 366.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1799, allocations: 59.97 kB / 367 MB, free: 13.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.181, allocations: 0.7971 MB / 367.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.181, allocations: 37.7 kB / 367.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/0.1817, allocations: 0.9176 MB / 368.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.1819, allocations: 228.7 kB / 369 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1819, allocations: 16 kB / 369 MB, free: 11.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.1821, allocations: 390.7 kB / 369.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/0.1827, allocations: 369.8 kB / 369.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/0.1834, allocations: 0.5751 MB / 370.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.1842, allocations: 473.8 kB / 370.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.1842, allocations: 4 kB / 370.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002052/0.1862, allocations: 1.151 MB / 371.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.1863, allocations: 8 kB / 371.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.1863, allocations: 15.92 kB / 371.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.1866, allocations: 108.8 kB / 372 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/0.1873, allocations: 179.7 kB / 372.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/0.1899, allocations: 2.131 MB / 374.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.1905, allocations: 48.02 kB / 374.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/0.1905, allocations: 32 kB / 374.4 MB, free: 5.621 MB / 318.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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.1918, allocations: 0.6496 MB / 375.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.192, allocations: 86.95 kB / 375.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.1922, allocations: 95.56 kB / 375.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.1922, allocations: 11.98 kB / 375.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.1923, allocations: 8.188 kB / 375.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.1923, allocations: 3.984 kB / 375.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004435/0.1967, allocations: 2.693 MB / 378 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.1967, allocations: 4 kB / 378 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.1972, allocations: 112 kB / 378.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.1975, allocations: 92.78 kB / 378.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.1976, allocations: 23.95 kB / 378.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2355/0.4331, allocations: 2.064 MB / 380.3 MB, free: 48.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.4331, allocations: 2.406 kB / 380.3 MB, free: 48.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.4357, allocations: 1.431 MB / 381.7 MB, free: 48.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.4361, allocations: 227.1 kB / 381.9 MB, free: 48.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.913e-05/0.4362, allocations: 19.86 kB / 381.9 MB, free: 48.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.4367, allocations: 49.06 kB / 382 MB, free: 48.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.4368, allocations: 49.41 kB / 382 MB, free: 48.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.4369, allocations: 19.66 kB / 382 MB, free: 48.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.4379, allocations: 0.5499 MB / 382.6 MB, free: 48.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4379, allocations: 1.844 kB / 382.6 MB, free: 48.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001285/0.4392, allocations: 297.7 kB / 382.9 MB, free: 48.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000233/0.4394, allocations: 132.7 kB / 383 MB, free: 48.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.4412, allocations: 1.012 MB / 384 MB, free: 48.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4412, allocations: 0 / 384 MB, free: 48.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008816/0.4421, allocations: 0.573 MB / 384.6 MB, free: 47.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/0.4431, allocations: 217.5 kB / 384.8 MB, free: 47.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.4486, allocations: 3.984 MB / 388.8 MB, free: 45.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.4501, allocations: 1.685 MB / 390.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.4503, allocations: 63.75 kB / 390.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4503, allocations: 0 / 390.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of Templates: time 0.03358/0.4839, allocations: 28.27 MB / 418.8 MB, free: 22.99 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.Electrical.MultiPhase.Examples.TestSensorsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensorsCalcHelperMain.o] Error 1