Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.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.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 85.77 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003195, allocations: 4 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1608, allocations: 51.5 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006534/0.1674, allocations: 5.188 MB / 364 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.1715, allocations: 1.585 MB / 365.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1726, allocations: 39.88 kB / 365.6 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005969/0.1732, allocations: 226.3 kB / 365.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.1746, allocations: 310.2 kB / 366.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.1753, allocations: 215.7 kB / 366.3 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002543/0.1779, allocations: 1.982 MB / 368.3 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.1805, allocations: 1.888 MB / 370.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.182, allocations: 0.7082 MB / 370.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.1834, allocations: 0.8673 MB / 371.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.1836, allocations: 124 kB / 371.9 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006823/0.1843, allocations: 259.8 kB / 372.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005425/0.1849, allocations: 0.4945 MB / 372.6 MB, free: 188 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3369/0.5218, allocations: 435.1 kB / 373.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009881/0.5318, allocations: 3.039 MB / 376.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.5319, allocations: 0 / 376.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5319, allocations: 0.5 kB / 376.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003169/0.5322, allocations: 0 / 376.1 MB, free: 11.16 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.01261/0.5448, allocations: 2.109 MB / 378.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.259e-05/0.5449, allocations: 10.25 kB / 378.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.5481, allocations: 268.5 kB / 378.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00651/0.5546, allocations: 1.241 MB / 379.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005381/0.5552, allocations: 170.2 kB / 379.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001964/0.5572, allocations: 226.9 kB / 380.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.5713, allocations: 2.528 MB / 382.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.5715, allocations: 0 / 382.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/0.5727, allocations: 92.06 kB / 382.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/0.5729, allocations: 56.22 kB / 382.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009452/0.5824, allocations: 2.133 MB / 384.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02797/0.6104, allocations: 7.641 MB / 392.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.6128, allocations: 1.257 MB / 393.8 MB, free: 3.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.6147, allocations: 0.6233 MB / 394.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.068e-05/0.6148, allocations: 8.688 kB / 394.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.6149, allocations: 44.17 kB / 394.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 5.64e-06/0.6149, allocations: 0 / 394.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.008471/0.6234, allocations: 2.444 MB / 396.9 MB, free: 2.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.6235, allocations: 61.64 kB / 397 MB, free: 2.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.6259, allocations: 0.7889 MB / 397.8 MB, free: 1.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/0.626, allocations: 37.55 kB / 397.8 MB, free: 1.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000913/0.627, allocations: 0.9207 MB / 398.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.6273, allocations: 223.8 kB / 399 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.6274, allocations: 20.92 kB / 399 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.6276, allocations: 388.4 kB / 399.4 MB, free: 152 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009465/0.6286, allocations: 372.1 kB / 399.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.6298, allocations: 0.582 MB / 400.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.631, allocations: 467.2 kB / 400.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.6311, allocations: 7.438 kB / 400.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003151/0.6342, allocations: 1.149 MB / 401.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.6343, allocations: 7.344 kB / 401.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.6343, allocations: 7.188 kB / 401.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004122/0.6347, allocations: 110.7 kB / 402 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009589/0.6357, allocations: 177.6 kB / 402.2 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.6389, allocations: 2.138 MB / 404.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.6399, allocations: 41.38 kB / 404.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.492e-05/0.64, allocations: 36.59 kB / 404.4 MB, free: 12.73 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.0024/0.6424, allocations: 0.6457 MB / 405.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.6428, allocations: 93.97 kB / 405.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.6431, allocations: 99.69 kB / 405.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/0.6431, allocations: 8 kB / 405.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/0.6432, allocations: 3.984 kB / 405.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6432, allocations: 3.984 kB / 405.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007201/0.6504, allocations: 2.678 MB / 408 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.6504, allocations: 160 / 408 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.6512, allocations: 110.8 kB / 408.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/0.6515, allocations: 96.78 kB / 408.2 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.6516, allocations: 19.98 kB / 408.2 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.655, allocations: 2.065 MB / 410.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.655, allocations: 8.016 kB / 410.3 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/0.6586, allocations: 1.425 MB / 411.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006845/0.6593, allocations: 228 kB / 411.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.6594, allocations: 17.52 kB / 411.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/0.6601, allocations: 55.95 kB / 412 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.6603, allocations: 43.5 kB / 412 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/0.6604, allocations: 28.05 kB / 412 MB, free: 5.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001363/0.6618, allocations: 0.5458 MB / 412.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6618, allocations: 0 / 412.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002382/0.6642, allocations: 308 kB / 412.9 MB, free: 4.332 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.0004612/0.6646, allocations: 128.2 kB / 413 MB, free: 4.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002773/0.6674, allocations: 1.009 MB / 414 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6675, allocations: 0 / 414 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.6688, allocations: 0.568 MB / 414.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.6706, allocations: 215.5 kB / 414.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009771/0.6804, allocations: 3.983 MB / 418.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.6826, allocations: 1.684 MB / 420.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004862/0.6831, allocations: 67.42 kB / 420.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of SimCode: time 1.813e-06/0.6831, allocations: 2.297 kB / 420.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Templates: time 0.0487/0.7319, allocations: 28.28 MB / 448.8 MB, free: 416 kB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.o] Error 1