Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 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.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 90.48 kB / 16.95 MB, free: 5.555 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.001849/0.001849, allocations: 191.5 kB / 17.85 MB, free: 5.223 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.674/1.674, allocations: 223.2 MB / 241.9 MB, free: 14.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002784, allocations: 8 kB / 301.5 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 50.42 MB / 351.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006605/0.1412, allocations: 5.155 MB / 357 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004036/0.1453, allocations: 1.542 MB / 358.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008156/0.1462, allocations: 43.88 kB / 358.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.1467, allocations: 226.3 kB / 358.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.1479, allocations: 302.2 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.1485, allocations: 231.7 kB / 359.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.1507, allocations: 1.989 MB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.1531, allocations: 1.88 MB / 363.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.1544, allocations: 0.7082 MB / 363.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.1558, allocations: 0.8673 MB / 364.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.156, allocations: 124 kB / 364.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005717/0.1566, allocations: 243.8 kB / 365.2 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005858/0.1572, allocations: 0.5023 MB / 365.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006018/0.1578, allocations: 436.6 kB / 366.1 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003688/0.1615, allocations: 3.039 MB / 369.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.1616, allocations: 4 kB / 369.1 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1616, allocations: 0 / 369.1 MB, free: 2.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.1617, allocations: 4 kB / 369.1 MB, free: 2.418 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.005105/0.1669, allocations: 2.099 MB / 371.2 MB, free: 264 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1669, allocations: 8.031 kB / 371.2 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007381/0.1677, allocations: 245.2 kB / 371.5 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2753/0.4429, allocations: 1.222 MB / 372.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.4432, allocations: 167.8 kB / 372.9 MB, free: 22.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003913/0.4436, allocations: 218 kB / 373.1 MB, free: 22.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/0.449, allocations: 2.533 MB / 375.6 MB, free: 21.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.449, allocations: 0 / 375.6 MB, free: 21.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.4492, allocations: 89.94 kB / 375.7 MB, free: 21.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/0.4493, allocations: 61.69 kB / 375.8 MB, free: 21.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/0.4532, allocations: 2.135 MB / 377.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.4659, allocations: 7.653 MB / 385.5 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.4672, allocations: 1.262 MB / 386.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.4683, allocations: 0.6184 MB / 387.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.4684, allocations: 7.828 kB / 387.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.4684, allocations: 41.69 kB / 387.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.554e-06/0.4684, allocations: 1.25 kB / 387.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004989/0.4734, allocations: 2.445 MB / 389.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.4735, allocations: 62.81 kB / 390 MB, free: 13.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009139/0.4744, allocations: 0.7906 MB / 390.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.4745, allocations: 34.88 kB / 390.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/0.4749, allocations: 0.9212 MB / 391.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.475, allocations: 230.3 kB / 392 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.4751, allocations: 12 kB / 392 MB, free: 12.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4752, allocations: 390.4 kB / 392.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005488/0.4758, allocations: 377.2 kB / 392.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.4764, allocations: 0.5753 MB / 393.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/0.4771, allocations: 466.8 kB / 393.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.4771, allocations: 2.438 kB / 393.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001956/0.4791, allocations: 1.161 MB / 394.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.4791, allocations: 6.875 kB / 394.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.4792, allocations: 6.875 kB / 394.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/0.4795, allocations: 114.8 kB / 395 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.4802, allocations: 176.3 kB / 395.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.4822, allocations: 2.129 MB / 397.3 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.4826, allocations: 47.58 kB / 397.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.4827, allocations: 35.69 kB / 397.4 MB, free: 8.504 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 (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.001004/0.4837, allocations: 0.6505 MB / 398.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.4838, allocations: 78.03 kB / 398.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.484, allocations: 99.02 kB / 398.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.484, allocations: 7.781 kB / 398.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.4841, allocations: 4.031 kB / 398.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4841, allocations: 3.984 kB / 398.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.4876, allocations: 2.681 MB / 400.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4876, allocations: 3.953 kB / 400.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.488, allocations: 107.9 kB / 401 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/0.4882, allocations: 104.9 kB / 401.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.4882, allocations: 12 kB / 401.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.4898, allocations: 2.073 MB / 403.2 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4898, allocations: 0 / 403.2 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.4916, allocations: 1.437 MB / 404.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.4919, allocations: 228.1 kB / 404.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.492, allocations: 12 kB / 404.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.4924, allocations: 50.12 kB / 405 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.4925, allocations: 52.39 kB / 405 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.4926, allocations: 19.98 kB / 405 MB, free: 0.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006086/0.4932, allocations: 0.5497 MB / 405.6 MB, free: 384 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4932, allocations: 0 / 405.6 MB, free: 384 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.001173/0.4944, allocations: 300 kB / 405.9 MB, free: 84 kB / 302.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.000276/0.4947, allocations: 137.6 kB / 406 MB, free: 15.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.4964, allocations: 1.015 MB / 407 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4964, allocations: 1.688 kB / 407 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009243/0.4974, allocations: 0.5643 MB / 407.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4985, allocations: 210.7 kB / 407.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/0.505, allocations: 3.976 MB / 411.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.5064, allocations: 1.684 MB / 413.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.5067, allocations: 67.42 kB / 413.5 MB, free: 8.324 MB / 318.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5067, allocations: 0 / 413.5 MB, free: 8.324 MB / 318.1 MB Notification: Performance of Templates: time 0.0437/0.5504, allocations: 28.28 MB / 441.8 MB, free: 12.09 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.o] Error 1