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.0009147/0.0009142, allocations: 91.06 kB / 16.33 MB, free: 6.398 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.0009791/0.000979, allocations: 188 kB / 17.22 MB, free: 6.289 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.497/1.497, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.2169/0.2169, allocations: 43.57 MB / 315.2 MB, free: 0.5391 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.0005321/0.000532, allocations: 12.31 kB / 384.6 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.116, allocations: 58.86 MB / 443.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01544/0.1315, allocations: 17.2 MB / 460.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.1432, allocations: 4.558 MB / 465.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.1471, allocations: 127.6 kB / 465.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003322/0.1504, allocations: 0.8851 MB / 466.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007749/0.1582, allocations: 1.982 MB / 468.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.1616, allocations: 0.9547 MB / 469.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01518/0.1768, allocations: 11.79 MB / 480.9 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04105/0.2179, allocations: 21.35 MB / 0.4905 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008715/0.2267, allocations: 4.606 MB / 0.495 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.237, allocations: 5.288 MB / 0.5001 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003216/0.2403, allocations: 0.6914 MB / 0.5008 GB, free: 76 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005782/0.2461, allocations: 0.8631 MB / 0.5017 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004656/0.2508, allocations: 2.343 MB / 0.504 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005689/0.2565, allocations: 2.359 MB / 0.5063 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5071/0.7636, allocations: 19.85 MB / 0.5256 GB, free: 26.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.7636, allocations: 2.609 kB / 0.5256 GB, free: 26.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7636, allocations: 0 / 0.5256 GB, free: 26.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006639/0.7643, allocations: 0 / 0.5256 GB, free: 26.41 MB / 398.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.03706/0.8014, allocations: 12.16 MB / 0.5375 GB, free: 20.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.8014, allocations: 13.02 kB / 0.5375 GB, free: 20.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05962/0.8611, allocations: 12.48 MB / 0.5497 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01694/0.878, allocations: 6.489 MB / 0.556 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/0.8791, allocations: 0.9023 MB / 0.5569 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007592/0.8867, allocations: 1.191 MB / 0.5581 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05367/0.9404, allocations: 18.96 MB / 0.5766 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004738/0.9409, allocations: 13.28 kB / 0.5766 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005477/0.9464, allocations: 0.4903 MB / 0.5771 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006695/0.9471, allocations: 0.6888 MB / 0.5778 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04636/0.9935, allocations: 19.74 MB / 0.5971 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1253/1.119, allocations: 62.37 MB / 0.658 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02325/1.142, allocations: 20.13 MB / 0.6776 GB, free: 11.23 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00793/1.15, allocations: 4.604 MB / 0.6821 GB, free: 6.602 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/1.151, allocations: 245.3 kB / 0.6823 GB, free: 6.371 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.379e-05/1.151, allocations: 103.8 kB / 0.6824 GB, free: 6.258 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=674): time 8.005e-06/1.151, allocations: 0 / 0.6824 GB, free: 6.258 MB / 0.4982 GB Notification: Performance of matching and sorting (n=674): time 0.02179/1.173, allocations: 12.51 MB / 0.6947 GB, free: 9.555 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/1.173, allocations: 120.7 kB / 0.6948 GB, free: 9.422 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01649/1.189, allocations: 8.667 MB / 0.7032 GB, free: 0.7695 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001352/1.191, allocations: 133.7 kB / 0.7034 GB, free: 0.6328 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003955/1.195, allocations: 4.613 MB / 0.7079 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003099/1.198, allocations: 2.267 MB / 0.7101 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005199/1.198, allocations: 162.3 kB / 0.7102 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004726/1.199, allocations: 0.6478 MB / 0.7109 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006378/1.205, allocations: 4.165 MB / 0.7149 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2884/1.494, allocations: 7.202 MB / 0.722 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009419/1.503, allocations: 5.73 MB / 0.7276 GB, free: 178 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001626/1.503, allocations: 28.09 kB / 0.7276 GB, free: 178 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02101/1.524, allocations: 12.34 MB / 0.7397 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.524, allocations: 46.38 kB / 0.7397 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/1.525, allocations: 104.2 kB / 0.7398 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008477/1.525, allocations: 429.8 kB / 0.7402 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006872/1.532, allocations: 2.095 MB / 0.7423 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00489/1.537, allocations: 8.925 MB / 0.751 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007408/1.545, allocations: 1.401 MB / 0.7523 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.546, allocations: 396.5 kB / 0.7527 GB, free: 165.6 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009029/1.555, allocations: 4.661 MB / 0.7573 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00204/1.557, allocations: 0.7128 MB / 0.758 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/1.576, allocations: 11.05 MB / 0.7688 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.424e-05/1.576, allocations: 68 kB / 0.7688 GB, free: 158 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.715e-05/1.576, allocations: 0 / 0.7688 GB, free: 158 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/1.576, allocations: 40.03 kB / 0.7689 GB, free: 158 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4674/2.044, allocations: 159.1 MB / 0.9243 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002907/2.044, allocations: 89.3 kB / 0.9244 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006307/2.051, allocations: 1.573 MB / 0.9259 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/2.052, allocations: 392.8 kB / 0.9263 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001234/2.053, allocations: 259.2 kB / 0.9265 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/2.058, allocations: 8.799 MB / 0.9351 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.359e-05/2.059, allocations: 138.2 kB / 0.9352 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0225/2.081, allocations: 18.79 MB / 0.9536 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005152/2.086, allocations: 2.056 MB / 0.9556 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001982/2.088, allocations: 254.7 kB / 0.9558 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005626/2.094, allocations: 0.564 MB / 0.9564 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/2.095, allocations: 0.7454 MB / 0.9571 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005676/2.096, allocations: 312.8 kB / 0.9574 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01053/2.106, allocations: 6.058 MB / 0.9633 GB, free: 147 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/2.106, allocations: 0 / 0.9633 GB, free: 147 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01265/2.119, allocations: 2.679 MB / 0.966 GB, free: 146.4 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002182/2.121, allocations: 0.4968 MB / 0.9664 GB, free: 146 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01657/2.138, allocations: 10.56 MB / 0.9767 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-05/2.138, allocations: 16.5 kB / 0.9768 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008222/2.146, allocations: 5.506 MB / 0.9821 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01358/2.16, allocations: 1.486 MB / 0.9836 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04831/2.208, allocations: 28.15 MB / 1.011 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007253/2.215, allocations: 7.63 MB / 1.019 GB, free: 98.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00306/2.218, allocations: 0.6478 MB / 1.019 GB, free: 98.02 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/2.218, allocations: 0 / 1.019 GB, free: 98.02 MB / 0.5294 GB Notification: Performance of Templates: time 1.354/3.572, allocations: 0.5413 GB / 1.56 GB, free: 178 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++ 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.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