Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 103.3 kB / 16.52 MB, free: 6.664 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.001892/0.001893, allocations: 199.3 kB / 17.44 MB, free: 6.059 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.861/1.861, allocations: 205.1 MB / 223.3 MB, free: 12.51 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.2716/0.2716, allocations: 43.53 MB / 314.2 MB, free: 0.7578 MB / 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.001921/0.001921, allocations: 63.3 kB / 382.7 MB, free: 57.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1518, allocations: 57.8 MB / 440.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009263/0.1611, allocations: 7.663 MB / 448.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006783/0.1679, allocations: 2.338 MB / 450.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.1698, allocations: 27.94 kB / 450.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.175, allocations: 1.72 MB / 452.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.1787, allocations: 0.8046 MB / 453 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.1814, allocations: 0.8297 MB / 453.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003229/0.1846, allocations: 1.366 MB / 455.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.1875, allocations: 0.9133 MB / 456.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.1889, allocations: 0.5798 MB / 456.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.1905, allocations: 0.7274 MB / 457.5 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005987/0.1911, allocations: 88 kB / 457.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.1927, allocations: 287.8 kB / 457.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00062/0.1933, allocations: 274.9 kB / 458.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.195, allocations: 0.6412 MB / 458.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.1975, allocations: 1.34 MB / 460.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1975, allocations: 0 / 460.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1975, allocations: 0 / 460.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001062/0.1976, allocations: 0 / 460.1 MB, free: 3.871 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.008926/0.2066, allocations: 2.404 MB / 462.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.2066, allocations: 12.03 kB / 462.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.2174, allocations: 1.49 MB / 464 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.2196, allocations: 0.6168 MB / 464.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.2198, allocations: 103.1 kB / 464.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006577/0.2205, allocations: 136.3 kB / 464.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004405/0.2249, allocations: 1.531 MB / 466.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.318e-05/0.225, allocations: 7.984 kB / 466.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.2253, allocations: 60 kB / 466.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.2253, allocations: 36 kB / 466.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/0.2289, allocations: 1.576 MB / 468 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/0.2397, allocations: 5.558 MB / 473.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.2425, allocations: 2.366 MB / 476 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.2437, allocations: 0.6617 MB / 476.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.2439, allocations: 106.1 kB / 476.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.2439, allocations: 47.56 kB / 476.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 3.196e-06/0.2439, allocations: 0 / 476.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=129): time 0.009733/0.2537, allocations: 3.164 MB / 479.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.2538, allocations: 90.11 kB / 480 MB, free: 15.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/0.2545, allocations: 485.8 kB / 480.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.2547, allocations: 45.7 kB / 480.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.2551, allocations: 487.2 kB / 481 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005456/0.2556, allocations: 429.7 kB / 481.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004979/0.2562, allocations: 226.8 kB / 481.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004252/0.2566, allocations: 386.8 kB / 482 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.2576, allocations: 471 kB / 482.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.259, allocations: 0.7403 MB / 483.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002579/0.2616, allocations: 1.259 MB / 484.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-05/0.2616, allocations: 4 kB / 484.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004047/0.2657, allocations: 1.673 MB / 486.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.2658, allocations: 8 kB / 486.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.2658, allocations: 12.41 kB / 486.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/0.2676, allocations: 0.5279 MB / 486.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/0.2685, allocations: 211.7 kB / 486.9 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002358/0.2687, allocations: 61.19 kB / 487 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.2698, allocations: 130.6 kB / 487.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.2699, allocations: 55.98 kB / 487.2 MB, free: 7.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0007075/0.2706, allocations: 281.5 kB / 487.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.2709, allocations: 79.06 kB / 487.5 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/0.2745, allocations: 1.579 MB / 489.1 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/0.2745, allocations: 23.98 kB / 489.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.2746, allocations: 0 / 489.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.2746, allocations: 7.969 kB / 489.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005691/0.2803, allocations: 2.9 MB / 492 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.2803, allocations: 0 / 492 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/0.281, allocations: 147.7 kB / 492.2 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/0.2827, allocations: 0.5223 MB / 492.7 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.2828, allocations: 27.98 kB / 492.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001063/0.2829, allocations: 28.84 kB / 492.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2829, allocations: 4 kB / 492.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/0.2874, allocations: 2.304 MB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006929/0.2881, allocations: 283.7 kB / 495.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.2883, allocations: 20 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007968/0.2891, allocations: 47.97 kB / 495.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.2894, allocations: 81.27 kB / 495.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/0.2895, allocations: 35.98 kB / 495.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005352/0.2901, allocations: 318.9 kB / 495.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2901, allocations: 0 / 495.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001681/0.2918, allocations: 347.1 kB / 496.2 MB, free: 14.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006006/0.2924, allocations: 155.1 kB / 496.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00396/0.2964, allocations: 1.4 MB / 497.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.2964, allocations: 4.188 kB / 497.7 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002227/0.2986, allocations: 0.77 MB / 498.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.2997, allocations: 106.1 kB / 498.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/0.3059, allocations: 2.682 MB / 0.4895 GB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.307, allocations: 1.048 MB / 0.4906 GB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.3074, allocations: 71.42 kB / 0.4906 GB, free: 8.266 MB / 382.1 MB Notification: Performance of SimCode: time 2.184e-06/0.3074, allocations: 0 / 0.4906 GB, free: 8.266 MB / 382.1 MB Notification: Performance of Templates: time 0.03252/0.3399, allocations: 16.72 MB / 0.5069 GB, free: 7.504 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.SinglePhase.IdealCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.o] Error 1