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.001012/0.001012, allocations: 90.86 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.001315/0.001316, allocations: 182.7 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 1.905/1.905, 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.2846/0.2846, allocations: 43.59 MB / 315.6 MB, free: 420 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.0005639/0.000564, allocations: 17.3 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1566, allocations: 58.87 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02601/0.1826, allocations: 21.4 MB / 465.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01827/0.201, allocations: 5.405 MB / 470.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00685/0.2079, allocations: 155.4 kB / 471.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007056/0.215, allocations: 1.439 MB / 472.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01282/0.2278, allocations: 2.178 MB / 474.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006933/0.2348, allocations: 1.585 MB / 476.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02617/0.261, allocations: 14.74 MB / 491 MB, free: 6.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08417/0.3452, allocations: 33.51 MB / 0.5122 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/0.3598, allocations: 5.655 MB / 0.5177 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0166/0.3765, allocations: 6.678 MB / 0.5243 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005688/0.3822, allocations: 0.8398 MB / 0.5251 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/0.3927, allocations: 1.066 MB / 0.5261 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009005/0.4017, allocations: 2.767 MB / 0.5288 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.7007/1.103, allocations: 6.74 MB / 0.5354 GB, free: 34.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03983/1.142, allocations: 24.08 MB / 0.5589 GB, free: 26.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.142, allocations: 3.656 kB / 0.5589 GB, free: 26.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.996e-06/1.142, allocations: 0.6562 kB / 0.5589 GB, free: 26.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001608/1.144, allocations: 0 / 0.5589 GB, free: 26.34 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.07154/1.216, allocations: 15.7 MB / 0.5743 GB, free: 18.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.936e-05/1.216, allocations: 8.594 kB / 0.5743 GB, free: 18.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06927/1.285, allocations: 12.75 MB / 0.5867 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03/1.315, allocations: 7.909 MB / 0.5944 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002088/1.317, allocations: 1.072 MB / 0.5955 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01269/1.33, allocations: 1.392 MB / 0.5968 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1038/1.434, allocations: 24.13 MB / 0.6204 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001101/1.435, allocations: 19.8 kB / 0.6204 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01231/1.447, allocations: 0.5811 MB / 0.621 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00136/1.449, allocations: 0.7297 MB / 0.6217 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07525/1.524, allocations: 22.5 MB / 0.6437 GB, free: 9.012 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2062/1.73, allocations: 73.53 MB / 0.7155 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4497/2.18, allocations: 31.61 MB / 0.7464 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01192/2.192, allocations: 5.098 MB / 0.7513 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02953/2.222, allocations: 15.84 MB / 0.7668 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.502e-05/2.222, allocations: 86.61 kB / 0.7669 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 1.107e-05/2.222, allocations: 0.7031 kB / 0.7669 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03805/2.26, allocations: 15.82 MB / 0.7824 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/2.26, allocations: 124.7 kB / 0.7825 GB, free: 146 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/2.271, allocations: 5.255 MB / 0.7876 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001694/2.273, allocations: 105.1 kB / 0.7877 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004726/2.277, allocations: 6.042 MB / 0.7936 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002972/2.28, allocations: 1.597 MB / 0.7952 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/2.281, allocations: 0.6255 MB / 0.7958 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.023e-05/2.281, allocations: 305.2 kB / 0.7961 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007173/2.289, allocations: 4.232 MB / 0.8002 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/2.299, allocations: 7.581 MB / 0.8076 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0211/2.32, allocations: 12.38 MB / 0.8197 GB, free: 112 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002213/2.32, allocations: 32 kB / 0.8197 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.03075/2.351, allocations: 13.5 MB / 0.8329 GB, free: 98.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/2.351, allocations: 56 kB / 0.833 GB, free: 98.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002708/2.352, allocations: 112 kB / 0.8331 GB, free: 98.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006606/2.358, allocations: 3.11 MB / 0.8361 GB, free: 95.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007751/2.366, allocations: 1.665 MB / 0.8377 GB, free: 93.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03216/2.398, allocations: 21.95 MB / 0.8592 GB, free: 71.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/2.41, allocations: 1.119 MB / 0.8603 GB, free: 70 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002784/2.413, allocations: 400 kB / 0.8606 GB, free: 69.61 MB / 0.5294 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 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0176/2.431, allocations: 5.46 MB / 0.866 GB, free: 64.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003112/2.434, allocations: 0.5092 MB / 0.8665 GB, free: 63.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02365/2.457, allocations: 9.726 MB / 0.876 GB, free: 53.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.237e-05/2.458, allocations: 48 kB / 0.876 GB, free: 53.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.423e-05/2.458, allocations: 4 kB / 0.876 GB, free: 53.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001347/2.458, allocations: 23.91 kB / 0.876 GB, free: 53.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05734/2.515, allocations: 20.94 MB / 0.8965 GB, free: 32.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.007e-05/2.515, allocations: 4 kB / 0.8965 GB, free: 32.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003563/2.519, allocations: 0.7345 MB / 0.8972 GB, free: 32.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0062/2.525, allocations: 2.958 MB / 0.9001 GB, free: 29.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009249/2.526, allocations: 99.83 kB / 0.9002 GB, free: 29.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02911/2.555, allocations: 21.69 MB / 0.9214 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.555, allocations: 0 / 0.9214 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4456/3.001, allocations: 14.24 MB / 0.9353 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004391/3.005, allocations: 1.395 MB / 0.9366 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001309/3.007, allocations: 78.31 kB / 0.9367 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003367/3.01, allocations: 396.9 kB / 0.9371 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001247/3.011, allocations: 380.4 kB / 0.9375 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003118/3.011, allocations: 136.1 kB / 0.9376 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006386/3.018, allocations: 3.505 MB / 0.941 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/3.018, allocations: 0 / 0.941 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01355/3.031, allocations: 3.466 MB / 0.9444 GB, free: 158.1 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/3.033, allocations: 257.1 kB / 0.9446 GB, free: 158 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02221/3.055, allocations: 11.56 MB / 0.9559 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/3.055, allocations: 3.969 kB / 0.9559 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01172/3.067, allocations: 5.985 MB / 0.9618 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01177/3.078, allocations: 1.197 MB / 0.9629 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07921/3.158, allocations: 30.16 MB / 0.9924 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02221/3.18, allocations: 8.915 MB / 1.001 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003349/3.183, allocations: 448.7 kB / 1.002 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of SimCode: time 2.645e-06/3.183, allocations: 0 / 1.002 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of Templates: time 1.243/4.427, allocations: 389.6 MB / 1.382 GB, free: 170.4 MB / 0.5607 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++ -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.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