Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009164/0.0009161, allocations: 90.45 kB / 17.63 MB, free: 6.16 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.001115/0.001115, allocations: 181.6 kB / 18.52 MB, free: 5.32 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.443/1.443, allocations: 223.2 MB / 242.5 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2625/0.2625, allocations: 44.23 MB / 337.9 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 8 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 61.93 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02041/0.1663, allocations: 19.63 MB / 491.8 MB, free: 10 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.18, allocations: 5.016 MB / 496.8 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004779/0.1848, allocations: 171.5 kB / 497 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004501/0.1893, allocations: 1.005 MB / 498 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008934/0.1983, allocations: 1.992 MB / 0.4883 GB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005224/0.2035, allocations: 1.299 MB / 0.4896 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01778/0.2213, allocations: 13.55 MB / 0.5028 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.332/0.5534, allocations: 26.54 MB / 0.5287 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01302/0.5665, allocations: 5.515 MB / 0.5341 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/0.5801, allocations: 6.186 MB / 0.5401 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004142/0.5843, allocations: 0.8371 MB / 0.5409 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008186/0.5925, allocations: 1.051 MB / 0.542 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006072/0.5986, allocations: 2.658 MB / 0.5446 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009576/0.6083, allocations: 2.788 MB / 0.5473 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03136/0.6397, allocations: 24.08 MB / 0.5708 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.6397, allocations: 4 kB / 0.5708 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6397, allocations: 0 / 0.5708 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00103/0.6408, allocations: 0 / 0.5708 GB, free: 15.82 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: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05314/0.6939, allocations: 15.66 MB / 0.5861 GB, free: 332 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.694, allocations: 8.031 kB / 0.5861 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05934/0.7533, allocations: 11.76 MB / 0.5976 GB, free: 4.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02556/0.779, allocations: 8.449 MB / 0.6058 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001525/0.7806, allocations: 1.06 MB / 0.6069 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008184/0.7888, allocations: 1.368 MB / 0.6082 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08134/0.8701, allocations: 23.49 MB / 0.6311 GB, free: 2.645 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008898/0.8711, allocations: 22.16 kB / 0.6312 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009634/0.8807, allocations: 0.5699 MB / 0.6317 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/0.8821, allocations: 0.7017 MB / 0.6324 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06145/0.9436, allocations: 21.63 MB / 0.6535 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8176/1.761, allocations: 71.91 MB / 0.7238 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02688/1.788, allocations: 28.63 MB / 0.7517 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008729/1.797, allocations: 4.97 MB / 0.7566 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03263/1.83, allocations: 15.7 MB / 0.7719 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/1.83, allocations: 89.7 kB / 0.772 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 1.065e-05/1.83, allocations: 0 / 0.772 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03684/1.867, allocations: 15.6 MB / 0.7872 GB, free: 98.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/1.867, allocations: 126 kB / 0.7873 GB, free: 98.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/1.881, allocations: 5.07 MB / 0.7923 GB, free: 95.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001299/1.882, allocations: 98.27 kB / 0.7924 GB, free: 95.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004715/1.887, allocations: 5.886 MB / 0.7981 GB, free: 90.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00282/1.89, allocations: 1.588 MB / 0.7997 GB, free: 88.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001619/1.891, allocations: 147.5 kB / 0.7998 GB, free: 88.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00109/1.892, allocations: 0.6184 MB / 0.8004 GB, free: 88.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00827/1.901, allocations: 4.144 MB / 0.8045 GB, free: 86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/1.911, allocations: 7.261 MB / 0.8116 GB, free: 79.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.922, allocations: 5.606 MB / 0.817 GB, free: 76.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002144/1.922, allocations: 31.28 kB / 0.8171 GB, free: 76.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03127/1.953, allocations: 13.1 MB / 0.8299 GB, free: 64.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004195/1.954, allocations: 56.2 kB / 0.8299 GB, free: 64.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003586/1.954, allocations: 109.6 kB / 0.83 GB, free: 64.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00636/1.961, allocations: 3.094 MB / 0.833 GB, free: 61.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006455/1.967, allocations: 1.599 MB / 0.8346 GB, free: 59.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02878/1.996, allocations: 21.87 MB / 0.856 GB, free: 37.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007982/2.004, allocations: 1.084 MB / 0.857 GB, free: 36.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002085/2.006, allocations: 384 kB / 0.8574 GB, free: 36.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * 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 (814): * Single equations (assignments): 811 * 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.01392/2.02, allocations: 5.382 MB / 0.8627 GB, free: 30.76 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002159/2.022, allocations: 0.4976 MB / 0.8631 GB, free: 30.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0203/2.042, allocations: 9.675 MB / 0.8726 GB, free: 20.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.933e-05/2.043, allocations: 48 kB / 0.8726 GB, free: 20.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/2.043, allocations: 0 / 0.8726 GB, free: 20.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.376e-05/2.043, allocations: 31.86 kB / 0.8727 GB, free: 20.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05351/2.096, allocations: 20.82 MB / 0.893 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/2.096, allocations: 0 / 0.893 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003724/2.1, allocations: 0.7372 MB / 0.8937 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00746/2.108, allocations: 2.962 MB / 0.8966 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00119/2.109, allocations: 91.98 kB / 0.8967 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0363/2.145, allocations: 21.67 MB / 0.9179 GB, free: 5.789 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/2.145, allocations: 8 kB / 0.9179 GB, free: 5.781 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4499/2.595, allocations: 14.23 MB / 0.9318 GB, free: 171.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005011/2.6, allocations: 1.383 MB / 0.9331 GB, free: 171.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/2.601, allocations: 79.31 kB / 0.9332 GB, free: 171.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/2.604, allocations: 398.3 kB / 0.9336 GB, free: 171.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/2.606, allocations: 382 kB / 0.9339 GB, free: 171.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003917/2.606, allocations: 130.9 kB / 0.9341 GB, free: 171.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007372/2.614, allocations: 3.383 MB / 0.9374 GB, free: 170.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.5e-07/2.614, allocations: 1 kB / 0.9374 GB, free: 170.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01537/2.629, allocations: 3.42 MB / 0.9407 GB, free: 169.7 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.00137/2.63, allocations: 249.7 kB / 0.9409 GB, free: 169.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02264/2.653, allocations: 11.4 MB / 0.9521 GB, free: 165.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/2.653, allocations: 0 / 0.9521 GB, free: 165.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01242/2.665, allocations: 5.975 MB / 0.9579 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/2.676, allocations: 1.219 MB / 0.9591 GB, free: 162.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06687/2.743, allocations: 28.41 MB / 0.9868 GB, free: 147.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01523/2.759, allocations: 8.811 MB / 0.9954 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/2.761, allocations: 430.5 kB / 0.9959 GB, free: 140.1 MB / 0.5607 GB Notification: Performance of SimCode: time 2.445e-06/2.761, allocations: 0 / 0.9959 GB, free: 140.1 MB / 0.5607 GB Notification: Performance of Templates: time 1.199/3.96, allocations: 385.8 MB / 1.373 GB, free: 179.6 MB / 0.5763 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.IdealCalcHelperMain.o] Error 1