Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007841/0.0007843, allocations: 92.09 kB / 16.33 MB, free: 5.938 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.0009287/0.0009287, allocations: 184 kB / 17.22 MB, free: 5.863 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.552/1.552, allocations: 205.4 MB / 223.4 MB, free: 5.254 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3866/0.3866, allocations: 43.55 MB / 315.2 MB, free: 9.066 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.0005166/0.0005166, allocations: 12 kB / 384.6 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.2813/0.4168, allocations: 19.79 MB / 463.2 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.4293, allocations: 5.062 MB / 468.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004256/0.4336, allocations: 155.3 kB / 468.4 MB, free: 35.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.4374, allocations: 1.025 MB / 469.4 MB, free: 34.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008493/0.4459, allocations: 2.049 MB / 471.5 MB, free: 34.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004281/0.4502, allocations: 1.304 MB / 472.8 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01659/0.4668, allocations: 13.78 MB / 486.6 MB, free: 28.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0515/0.5183, allocations: 26.58 MB / 0.5011 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/0.5321, allocations: 5.59 MB / 0.5066 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01446/0.5466, allocations: 6.306 MB / 0.5127 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003882/0.5506, allocations: 0.8359 MB / 0.5136 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007184/0.5578, allocations: 1.057 MB / 0.5146 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00314/0.5609, allocations: 2.715 MB / 0.5172 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006713/0.5676, allocations: 2.819 MB / 0.52 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02879/0.5964, allocations: 24.06 MB / 0.5435 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.5965, allocations: 0 / 0.5435 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5965, allocations: 4 kB / 0.5435 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008404/0.5974, allocations: 0 / 0.5435 GB, free: 10.46 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: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.04868/0.6461, allocations: 15.84 MB / 0.559 GB, free: 10.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.6461, allocations: 11.97 kB / 0.559 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06229/0.7084, allocations: 12.75 MB / 0.5714 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01822/0.7267, allocations: 7.794 MB / 0.579 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001266/0.728, allocations: 1.072 MB / 0.5801 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007382/0.7354, allocations: 1.398 MB / 0.5814 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06583/0.8013, allocations: 24.01 MB / 0.6049 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004448/0.8018, allocations: 15.91 kB / 0.6049 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005007/0.8068, allocations: 0.5781 MB / 0.6055 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007496/0.8075, allocations: 0.7335 MB / 0.6062 GB, free: 9.938 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05069/0.8582, allocations: 22.38 MB / 0.628 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6262/1.484, allocations: 73.48 MB / 0.6998 GB, free: 61.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/1.507, allocations: 31.6 MB / 0.7307 GB, free: 31.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007563/1.514, allocations: 5.068 MB / 0.7356 GB, free: 29.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02377/1.538, allocations: 15.85 MB / 0.7511 GB, free: 19.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/1.538, allocations: 81.64 kB / 0.7512 GB, free: 19.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 6.943e-06/1.538, allocations: 0 / 0.7512 GB, free: 19.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.03021/1.568, allocations: 15.57 MB / 0.7664 GB, free: 6.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/1.569, allocations: 128.7 kB / 0.7665 GB, free: 5.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007883/1.576, allocations: 5.209 MB / 0.7716 GB, free: 0.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007876/1.577, allocations: 97.7 kB / 0.7717 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005599/1.583, allocations: 6.054 MB / 0.7776 GB, free: 10.61 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002294/1.585, allocations: 1.588 MB / 0.7791 GB, free: 9.031 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/1.586, allocations: 156 kB / 0.7793 GB, free: 8.879 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0004567/1.586, allocations: 0.6335 MB / 0.7799 GB, free: 8.242 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006518/1.593, allocations: 4.2 MB / 0.784 GB, free: 4.039 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008543/1.601, allocations: 7.549 MB / 0.7914 GB, free: 10.96 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009081/1.61, allocations: 5.736 MB / 0.797 GB, free: 5.328 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.259e-05/1.61, allocations: 32 kB / 0.797 GB, free: 5.297 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02328/1.634, allocations: 13.4 MB / 0.8101 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/1.634, allocations: 52 kB / 0.8101 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/1.634, allocations: 116 kB / 0.8102 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00601/1.64, allocations: 3.117 MB / 0.8133 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006009/1.646, allocations: 1.668 MB / 0.8149 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02832/1.674, allocations: 21.89 MB / 0.8363 GB, free: 13.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007667/1.682, allocations: 1.123 MB / 0.8374 GB, free: 12.38 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/1.684, allocations: 408 kB / 0.8378 GB, free: 11.98 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01119/1.695, allocations: 5.462 MB / 0.8431 GB, free: 6.633 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/1.696, allocations: 0.511 MB / 0.8436 GB, free: 6.117 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3311/2.027, allocations: 9.704 MB / 0.8531 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.274e-05/2.027, allocations: 46.56 kB / 0.8531 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/2.027, allocations: 0 / 0.8531 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.637e-05/2.027, allocations: 21.98 kB / 0.8532 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03535/2.063, allocations: 20.9 MB / 0.8736 GB, free: 175 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/2.063, allocations: 0 / 0.8736 GB, free: 175 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/2.066, allocations: 0.7348 MB / 0.8743 GB, free: 175 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006339/2.072, allocations: 2.958 MB / 0.8772 GB, free: 174.2 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000617/2.073, allocations: 98.88 kB / 0.8773 GB, free: 174.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03066/2.103, allocations: 21.65 MB / 0.8984 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/2.103, allocations: 1.188 kB / 0.8984 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02032/2.124, allocations: 14.19 MB / 0.9123 GB, free: 157.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00322/2.127, allocations: 1.396 MB / 0.9136 GB, free: 157 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007574/2.128, allocations: 79.55 kB / 0.9137 GB, free: 156.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/2.13, allocations: 398.7 kB / 0.9141 GB, free: 156.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/2.131, allocations: 388.4 kB / 0.9145 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002784/2.132, allocations: 131.2 kB / 0.9146 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00509/2.137, allocations: 3.469 MB / 0.918 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.3e-07/2.137, allocations: 0 / 0.918 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01084/2.148, allocations: 3.465 MB / 0.9214 GB, free: 154.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/2.149, allocations: 258.4 kB / 0.9216 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01722/2.166, allocations: 11.53 MB / 0.9329 GB, free: 147.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/2.166, allocations: 0 / 0.9329 GB, free: 147.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009573/2.175, allocations: 5.976 MB / 0.9387 GB, free: 141.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007023/2.183, allocations: 1.224 MB / 0.9399 GB, free: 140.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04774/2.23, allocations: 28.88 MB / 0.9681 GB, free: 111.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008815/2.239, allocations: 8.916 MB / 0.9768 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/2.241, allocations: 443.4 kB / 0.9772 GB, free: 102.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.743e-06/2.241, allocations: 0 / 0.9772 GB, free: 102.3 MB / 0.5607 GB Notification: Performance of Templates: time 1.013/3.254, allocations: 390.1 MB / 1.358 GB, free: 136.4 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.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 OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.IdealCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.IdealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.IdealCalcHelperMain.o] Error 1