Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 90.25 kB / 16.67 MB, free: 6.59 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.001989/0.00199, allocations: 179 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 223.8 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2567/0.2567, allocations: 43.59 MB / 315.6 MB, free: 428 kB / 254.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.0008581/0.0008581, allocations: 23.14 kB / 385.2 MB, free: 56.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.174, allocations: 58.86 MB / 444.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02145/0.1955, allocations: 18.59 MB / 462.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01615/0.2117, allocations: 4.865 MB / 467.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007563/0.2194, allocations: 123.6 kB / 467.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006937/0.2263, allocations: 1.233 MB / 468.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.2399, allocations: 2.097 MB / 471 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005929/0.2458, allocations: 1.169 MB / 472.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02476/0.2706, allocations: 12.7 MB / 484.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06203/0.3327, allocations: 25.41 MB / 0.4983 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.3458, allocations: 4.623 MB / 0.5028 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01337/0.3593, allocations: 5.593 MB / 0.5083 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004251/0.3636, allocations: 0.6836 MB / 0.509 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007555/0.3712, allocations: 0.8787 MB / 0.5098 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007006/0.3782, allocations: 2.386 MB / 0.5122 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01898/0.3972, allocations: 5.661 MB / 0.5177 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6105/1.008, allocations: 19.85 MB / 0.5371 GB, free: 35.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.008, allocations: 0 / 0.5371 GB, free: 35.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.885e-06/1.008, allocations: 0 / 0.5371 GB, free: 35.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009071/1.009, allocations: 0 / 0.5371 GB, free: 35.81 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.04663/1.056, allocations: 12.04 MB / 0.5488 GB, free: 32.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/1.056, allocations: 12.56 kB / 0.5488 GB, free: 32.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06773/1.123, allocations: 12.48 MB / 0.561 GB, free: 27.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02275/1.146, allocations: 6.574 MB / 0.5675 GB, free: 25.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001547/1.148, allocations: 0.9044 MB / 0.5683 GB, free: 25.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00872/1.157, allocations: 1.19 MB / 0.5695 GB, free: 25.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07188/1.228, allocations: 19.05 MB / 0.5881 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009895/1.229, allocations: 19.81 kB / 0.5881 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009107/1.239, allocations: 0.4977 MB / 0.5886 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007466/1.239, allocations: 0.6817 MB / 0.5893 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05948/1.299, allocations: 19.84 MB / 0.6087 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1641/1.463, allocations: 62.4 MB / 0.6696 GB, free: 9.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03077/1.494, allocations: 20.18 MB / 0.6893 GB, free: 3.895 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009693/1.504, allocations: 4.623 MB / 0.6938 GB, free: 15.25 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006468/1.504, allocations: 243.8 kB / 0.694 GB, free: 15.02 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/1.505, allocations: 115.8 kB / 0.6942 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=674): time 1.003e-05/1.505, allocations: 3.656 kB / 0.6942 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of matching and sorting (n=674): time 0.02855/1.533, allocations: 12.56 MB / 0.7064 GB, free: 2.137 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.533, allocations: 123.3 kB / 0.7065 GB, free: 2.004 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0207/1.554, allocations: 8.725 MB / 0.7151 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.002031/1.556, allocations: 137.7 kB / 0.7152 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.006615/1.563, allocations: 4.601 MB / 0.7197 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.004659/1.567, allocations: 2.265 MB / 0.7219 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00296/1.57, allocations: 0.6248 MB / 0.7225 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.571, allocations: 305.1 kB / 0.7228 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009425/1.58, allocations: 4.196 MB / 0.7269 GB, free: 13.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01381/1.594, allocations: 7.236 MB / 0.734 GB, free: 4.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4374/2.031, allocations: 12.41 MB / 0.7461 GB, free: 190.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001463/2.032, allocations: 28.81 kB / 0.7461 GB, free: 190.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02999/2.062, allocations: 12.42 MB / 0.7582 GB, free: 186.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/2.062, allocations: 45.72 kB / 0.7583 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002229/2.062, allocations: 98.5 kB / 0.7584 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/2.063, allocations: 424 kB / 0.7588 GB, free: 186.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008667/2.072, allocations: 2.093 MB / 0.7608 GB, free: 186.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006814/2.079, allocations: 8.938 MB / 0.7695 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/2.09, allocations: 1.405 MB / 0.7709 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003334/2.094, allocations: 396.3 kB / 0.7713 GB, free: 177.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0179/2.112, allocations: 4.659 MB / 0.7758 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003668/2.115, allocations: 0.7112 MB / 0.7765 GB, free: 175.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0247/2.14, allocations: 11.07 MB / 0.7873 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/2.14, allocations: 68 kB / 0.7874 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/2.14, allocations: 4 kB / 0.7874 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-05/2.14, allocations: 41.98 kB / 0.7875 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1818/2.322, allocations: 159.2 MB / 0.9429 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004446/2.323, allocations: 88 kB / 0.943 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00754/2.33, allocations: 1.575 MB / 0.9446 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/2.331, allocations: 384.9 kB / 0.9449 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00216/2.334, allocations: 252 kB / 0.9452 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007086/2.341, allocations: 8.806 MB / 0.9538 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.481e-05/2.341, allocations: 143.5 kB / 0.9539 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4536/2.795, allocations: 18.86 MB / 0.9723 GB, free: 174.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007798/2.802, allocations: 2.055 MB / 0.9743 GB, free: 174 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003249/2.806, allocations: 247.6 kB / 0.9746 GB, free: 173.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007582/2.813, allocations: 0.5706 MB / 0.9751 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001605/2.815, allocations: 0.7413 MB / 0.9758 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006286/2.816, allocations: 313.6 kB / 0.9761 GB, free: 173.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01401/2.83, allocations: 6.123 MB / 0.9821 GB, free: 171.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.002e-06/2.83, allocations: 0 / 0.9821 GB, free: 171.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01636/2.846, allocations: 2.673 MB / 0.9847 GB, free: 170.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_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 (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003073/2.849, allocations: 498.7 kB / 0.9852 GB, free: 170.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02273/2.872, allocations: 10.63 MB / 0.9956 GB, free: 166.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 0.000103/2.872, allocations: 14.25 kB / 0.9956 GB, free: 166.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01065/2.883, allocations: 5.517 MB / 1.001 GB, free: 164.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08645/2.969, allocations: 1.505 MB / 1.002 GB, free: 163.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05214/3.021, allocations: 29.25 MB / 1.031 GB, free: 135.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009171/3.031, allocations: 7.631 MB / 1.038 GB, free: 129.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003637/3.034, allocations: 0.6503 MB / 1.039 GB, free: 129.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.623e-06/3.034, allocations: 4 kB / 1.039 GB, free: 129.1 MB / 0.545 GB Notification: Performance of Templates: time 1.756/4.79, allocations: 0.541 GB / 1.58 GB, free: 171.5 MB / 0.5607 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnectionCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnectionCalcHelperMain.o] Error 1